GCHandleExtensions.GetAddressOfArrayData<T> Method

Definition

Important

This API is not CLS-compliant.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static T* GetAddressOfArrayData(System::Runtime::InteropServices::PinnedGCHandle<cli::array <T> ^> handle);
[System.CLSCompliant(false)]
public static T* GetAddressOfArrayData<T>(this System.Runtime.InteropServices.PinnedGCHandle<T[]> handle);
[<System.CLSCompliant(false)>]
static member GetAddressOfArrayData : System.Runtime.InteropServices.PinnedGCHandle<'T[]> -> nativeptr<'T>

Type Parameters

T

Parameters

handle
PinnedGCHandle<T[]>

Returns

T*
Attributes

Applies to