PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn.GetPinnableReference Method

Definition

Overloads

GetPinnableReference()

Returns a reference to the marshalled array.

GetPinnableReference(T*[])

Gets a pinnable reference to the managed array.

GetPinnableReference()

Source:
PointerArrayMarshaller.cs
Source:
PointerArrayMarshaller.cs
Source:
PointerArrayMarshaller.cs

Returns a reference to the marshalled array.

public:
 TUnmanagedElement % GetPinnableReference();
public ref TUnmanagedElement GetPinnableReference ();
member this.GetPinnableReference : unit -> 'UnmanagedElement
Public Function GetPinnableReference () As TUnmanagedElement

Returns

TUnmanagedElement

A pinnable reference to the unmanaged marshalled array.

Applies to

GetPinnableReference(T*[])

Source:
PointerArrayMarshaller.cs
Source:
PointerArrayMarshaller.cs
Source:
PointerArrayMarshaller.cs

Gets a pinnable reference to the managed array.

public:
 static System::Byte % GetPinnableReference(cli::array <T*> ^ array);
public static ref byte GetPinnableReference (T*[]? array);
static member GetPinnableReference : nativeptr<'T>[] -> byte

Parameters

array
T*[]

The managed array.

Returns

The reference that can be pinned and directly passed to unmanaged code.

Applies to