Marshal.UnsafeAddrOfPinnedArrayElement 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_staticUnsafeAddrOfPinnedArrayElement(Array, Int32)

Gets the address of the element at the specified index inside the specified array.

System_CAPS_pubmethodSystem_CAPS_staticUnsafeAddrOfPinnedArrayElement<T>(T[], Int32)

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

Gets the address of the element at the specified index in an array of a specified type.

Return to top
Show: