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)

배열의 관리되지 않는 요소에 대한 원본을 가져옵니다.

적용 대상