ArrayMarshaller<T,TUnmanagedElement>.AllocateContainerForUnmanagedElements Metodo

Definizione

Alloca memoria per la rappresentazione non gestita della matrice.

public:
 static TUnmanagedElement* AllocateContainerForUnmanagedElements(cli::array <T> ^ managed, [Runtime::InteropServices::Out] int % numElements);
public static TUnmanagedElement* AllocateContainerForUnmanagedElements(T[]? managed, out int numElements);
static member AllocateContainerForUnmanagedElements : 'T[] * int -> nativeptr<'UnmanagedElement>

Parametri

managed
T[]

Matrice gestita.

numElements
Int32

Conteggio degli elementi non gestiti.

Valori restituiti

TUnmanagedElement*

Puntatore non gestito alla memoria allocata.

Si applica a