PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn Struct

Definizione

Rappresenta un marshaller per il marshalling di una matrice da gestito a non gestito.

public:  where T : value class where TUnmanagedElement : value classvalue class PointerArrayMarshaller<T, TUnmanagedElement>::ManagedToUnmanagedIn
public ref struct PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn where T : struct where TUnmanagedElement : struct
type PointerArrayMarshaller<'T, 'UnmanagedElement (requires 'T : struct and 'UnmanagedElement : struct)>.ManagedToUnmanagedIn = struct
Public Structure PointerArrayMarshaller(Of T, TUnmanagedElement).ManagedToUnmanagedIn

Parametri di tipo

T
TUnmanagedElement
Ereditarietà
PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn

Proprietà

BufferSize

Ottiene la dimensione del buffer allocata dal chiamante richiesto.

Metodi

Free()

Libera le risorse.

FromManaged(T*[], Span<TUnmanagedElement>)

Inizializza il PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn marshaller.

GetManagedValuesSource()

Restituisce un intervallo che punta alla memoria in cui vengono archiviati i valori gestiti della matrice.

GetPinnableReference()

Restituisce un riferimento alla matrice con marshalling.

GetPinnableReference(T*[])

Ottiene un riferimento pinnable alla matrice gestita.

GetUnmanagedValuesDestination()

Restituisce un intervallo che punta alla memoria in cui devono essere archiviati i valori non gestiti della matrice.

ToUnmanaged()

Restituisce il valore non gestito che rappresenta la matrice.

Si applica a