Condividi tramite


PointerArrayMarshaller<T,TUnmanagedElement>.AllocateContainerForManagedElements Metodo

Definizione

Alloca la memoria per la rappresentazione gestita della matrice.

public:
 static cli::array <T*> ^ AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements);
public static T*[]? AllocateContainerForManagedElements (TUnmanagedElement* unmanaged, int numElements);
static member AllocateContainerForManagedElements : nativeptr<'UnmanagedElement> * int -> nativeptr<'T>[]

Parametri

unmanaged
TUnmanagedElement*

Matrice non gestita.

numElements
Int32

Numero di elementi non gestiti.

Restituisce

T*[]

Matrice gestita.

Si applica a