PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn Struct
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.
Represents a marshaller for marshalling an array from managed to unmanaged.
public: where T : value class where TUnmanagedElement : value classvalue class PointerArrayMarshaller<T, TUnmanagedElement>::ManagedToUnmanagedIn
public ref struct PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn where T : struct where TUnmanagedElement : struct
type PointerArrayMarshaller<'T, 'UnmanagedElement (requires 'T : struct and 'UnmanagedElement : struct)>.ManagedToUnmanagedIn = struct
Public Structure PointerArrayMarshaller(Of T, TUnmanagedElement).ManagedToUnmanagedIn
- T
- TUnmanagedElement
- Inheritance
Buffer |
Gets the requested caller-allocated buffer size. |
Free() |
Frees resources. |
From |
Initializes the PointerArrayMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn marshaller. |
Get |
Returns a span that points to the memory where the managed values of the array are stored. |
Get |
Returns a reference to the marshalled array. |
Get |
Gets a pinnable reference to the managed array. |
Get |
Returns a span that points to the memory where the unmanaged values of the array should be stored. |
To |
Returns the unmanaged value representing the array. |
Продукт | Версии |
---|---|
.NET | 7, 8, 9, 10 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: