ReadOnlySpanMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedOut.GetManagedValuesDestination 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.
Returns a span that points to the memory where the managed elements of the array should be stored.
public:
Span<T> GetManagedValuesDestination(int numElements);
public Span<T> GetManagedValuesDestination (int numElements);
member this.GetManagedValuesDestination : int -> Span<'T>
Public Function GetManagedValuesDestination (numElements As Integer) As Span(Of T)
Parameters
- numElements
- Int32
The number of elements in the array.
Returns
A span where managed values of the array should be stored.
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.