ReadOnlySpanMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedOut.GetUnmanagedValuesSource 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 unmanaged elements of the array are stored.
public:
ReadOnlySpan<TUnmanagedElement> GetUnmanagedValuesSource(int numElements);
public ReadOnlySpan<TUnmanagedElement> GetUnmanagedValuesSource (int numElements);
member this.GetUnmanagedValuesSource : int -> ReadOnlySpan<'UnmanagedElement (requires 'UnmanagedElement : struct)>
Public Function GetUnmanagedValuesSource (numElements As Integer) As ReadOnlySpan(Of TUnmanagedElement)
Parameters
- numElements
- Int32
The number of elements in the array.
Returns
ReadOnlySpan<TUnmanagedElement>
A span over unmanaged values of the array.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.