internal static void CopyOut(IntPtr from, ref PartitionQosPolicy to)
 {
     if (to == null)
     {
         to = new PartitionQosPolicy();
     }
     SequenceStringMarshaler.CopyOut(from, ref to.Name);
 }
 internal static void CopyOut(v_userKeyPolicyI_s from, ref SubscriptionKeyQosPolicy to)
 {
     if (to == null)
     {
         to = new SubscriptionKeyQosPolicy();
     }
     to.UseKeyList = from.v.enable;
     SequenceStringMarshaler.CopyOut(from.v.expression, ref to.KeyList);
 }