Uredi

Deli z drugimi prek


ArrayMarshaller<T,TUnmanagedElement>.GetManagedValuesSource(T[]) Method

Definition

Gets a source for the managed elements in the array.

public:
 static ReadOnlySpan<T> GetManagedValuesSource(cli::array <T> ^ managed);
public static ReadOnlySpan<T> GetManagedValuesSource (T[]? managed);
static member GetManagedValuesSource : 'T[] -> ReadOnlySpan<'T>
Public Shared Function GetManagedValuesSource (managed As T()) As ReadOnlySpan(Of T)

Parameters

managed
T[]

The managed array.

Returns

The ReadOnlySpan<T> containing the managed elements to marshal.

Applies to