Marshal::OffsetOf Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticOffsetOf(Type^, String^)

Returns the field offset of the unmanaged form of the managed class.

System_CAPS_pubmethodSystem_CAPS_staticOffsetOf<T>(String^)

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

Returns the field offset of the unmanaged form of a specified managed class.

Return to top
Show: