PointerArrayMarshaller<T,TUnmanagedElement>.GetManagedValuesSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ReadOnlySpan<nativeint>
The ReadOnlySpan<T> containing the managed elements to marshal.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.