Condividi tramite


ArrayMarshaller<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 -> 'T[]

Parametri

unmanaged
TUnmanagedElement*

Matrice non gestita.

numElements
Int32

Numero di elementi non gestiti.

Restituisce

T[]

Matrice gestita.

Si applica a