ArrayMarshaller<T,TUnmanagedElement> クラス

定義

重要

この API は CLS 準拠ではありません。

配列のマーシャラーを表します。

generic <typename T, typename TUnmanagedElement>
 where TUnmanagedElement : value classpublic ref class ArrayMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshaller]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder[]), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder[]), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>+ManagedToUnmanagedIn))]
public static class ArrayMarshaller<T,TUnmanagedElement> where TUnmanagedElement : struct
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshaller>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder[]), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder[]), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>+ManagedToUnmanagedIn))>]
type ArrayMarshaller<'T, 'UnmanagedElement (requires 'UnmanagedElement : struct)> = class
Public Class ArrayMarshaller(Of T, TUnmanagedElement)

型パラメーター

T

配列要素の型。

TUnmanagedElement

要素型のアンマネージ型。

継承
ArrayMarshaller<T,TUnmanagedElement>
属性

メソッド

AllocateContainerForManagedElements(TUnmanagedElement*, Int32)

配列のマネージド表現にメモリを割り当てます。

AllocateContainerForUnmanagedElements(T[], Int32)

配列のアンマネージ表現にメモリを割り当てます。

Free(TUnmanagedElement*)

アンマネージド配列のメモリを解放します。

GetManagedValuesDestination(T[])

配列内のマネージド要素の変換先を取得します。

GetManagedValuesSource(T[])

配列内のマネージド要素のソースを取得します。

GetUnmanagedValuesDestination(TUnmanagedElement*, Int32)

配列内のアンマネージ要素の変換先を取得します。

GetUnmanagedValuesSource(TUnmanagedElement*, Int32)

配列内のアンマネージ要素のソースを取得します。

適用対象