ArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn.GetPinnableReference 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.
Overloads
GetPinnableReference() |
Returns a reference to the marshalled array. |
GetPinnableReference(T[]) |
Gets a pinnable reference to the managed array. |
GetPinnableReference()
- Source:
- ArrayMarshaller.cs
- Source:
- ArrayMarshaller.cs
- Source:
- ArrayMarshaller.cs
Returns a reference to the marshalled array.
public:
TUnmanagedElement % GetPinnableReference();
public ref TUnmanagedElement GetPinnableReference ();
member this.GetPinnableReference : unit -> 'UnmanagedElement
Public Function GetPinnableReference () As TUnmanagedElement
Returns
A pinnable reference to the unmanaged marshalled array.
Applies to
GetPinnableReference(T[])
- Source:
- ArrayMarshaller.cs
- Source:
- ArrayMarshaller.cs
- Source:
- ArrayMarshaller.cs
Gets a pinnable reference to the managed array.
public:
static T % GetPinnableReference(cli::array <T> ^ array);
public static ref T GetPinnableReference (T[]? array);
static member GetPinnableReference : 'T[] -> 'T
Public Shared Function GetPinnableReference (array As T()) As T
Parameters
- array
- T[]
The managed array.
Returns
The reference that can be pinned and directly passed to unmanaged code.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για