PointerArrayMarshaller<T,TUnmanagedElement>.AllocateContainerForUnmanagedElements Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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 : nativeptr<'T>[] * int -> nativeptr<'UnmanagedElement>
Parametri
- managed
- T*[]
Matrice gestita da effettuare il marshalling.
- numElements
- Int32
Conteggio degli elementi non gestiti.
Restituisce
Puntatore non gestito alla memoria allocata.