PointerArrayMarshaller<T,TUnmanagedElement>.GetManagedValuesSource Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une source pour les éléments managés dans le tableau.
public:
static ReadOnlySpan<IntPtr> GetManagedValuesSource(cli::array <T*> ^ managed);
public static ReadOnlySpan<IntPtr> GetManagedValuesSource (T*[]? managed);
static member GetManagedValuesSource : nativeptr<'T>[] -> ReadOnlySpan<nativeint>
Paramètres
- managed
- T*[]
Tableau managé pour lequel obtenir une source.
Retours
ReadOnlySpan<nativeint>
ReadOnlySpan<T> contenant les éléments managés à marshaler.