GetNativeVariantForObject Method
TOC
Collapse the table of content
Expand the table of content

Marshal.GetNativeVariantForObject Method

 

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetNativeVariantForObject(Object, IntPtr)

Converts an object to a COM VARIANT.

System_CAPS_pubmethodSystem_CAPS_staticGetNativeVariantForObject<T>(T, IntPtr)

[Supported in the .NET Framework 4.5.1 and later versions]

Converts an object of a specified type to a COM VARIANT.

Return to top
Show:
© 2016 Microsoft