ArrayMarshaller<T,TUnmanagedElement>.AllocateContainerForManagedElements Metodo

Definizione

Alloca 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

Conteggio degli elementi non gestiti.

Valori restituiti

T[]

Matrice gestita.

Si applica a