Edit

Share via


PointerArrayMarshaller<T,TUnmanagedElement>.GetManagedValuesSource Method

Definition

Gets a source for the managed elements in the array.

public:
 static ReadOnlySpan<IntPtr> GetManagedValuesSource(cli::array <T*> ^ managed);
public static ReadOnlySpan<IntPtr> GetManagedValuesSource (T*[]? managed);
static member GetManagedValuesSource : nativeptr<'T>[] -> ReadOnlySpan<nativeint>

Parameters

managed
T*[]

The managed array to get a source for.

Returns

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

Applies to