public PropVariant(ConstPropVariant value) { if (value != null) { PropVariantCopy(this, value); } else { throw new NullReferenceException("null passed to PropVariant constructor"); } }
protected static extern void PropVariantCopy( [Out, MarshalAs(UnmanagedType.LPStruct)] PropVariant pvarDest, [In, MarshalAs(UnmanagedType.LPStruct)] ConstPropVariant pvarSource);