PointerArrayMarshaller<T,TUnmanagedElement> 클래스

정의

Important

이 API는 CLS 규격이 아닙니다.

포인터 배열에 대한 마샬러를 나타냅니다.

generic <typename T, typename TUnmanagedElement>
 where T : value class where TUnmanagedElement : value classpublic ref class PointerArrayMarshaller 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.PointerArrayMarshaller<,>))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder*[]), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>+ManagedToUnmanagedIn))]
public static class PointerArrayMarshaller<T,TUnmanagedElement> where T : struct 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.PointerArrayMarshaller<,>))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder*[]), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>+ManagedToUnmanagedIn))>]
type PointerArrayMarshaller<'T, 'UnmanagedElement (requires 'T : struct and 'UnmanagedElement : struct)> = class
Public Class PointerArrayMarshaller(Of T, TUnmanagedElement)

형식 매개 변수

T

배열 요소 포인터 형식입니다.

TUnmanagedElement

요소 포인터 형식의 관리되지 않는 형식입니다.

상속
PointerArrayMarshaller<T,TUnmanagedElement>
특성

메서드

Name Description
AllocateContainerForManagedElements(TUnmanagedElement*, Int32)

배열의 관리되는 표현에 대한 메모리를 할당합니다.

AllocateContainerForUnmanagedElements(T*[], Int32)

배열의 관리되지 않는 표현에 대한 메모리를 할당합니다.

Free(TUnmanagedElement*)

관리되지 않는 배열의 메모리를 해제합니다.

GetManagedValuesDestination(T*[])

배열에서 관리되는 요소의 대상을 가져옵니다.

GetManagedValuesSource(T*[])

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

GetUnmanagedValuesDestination(TUnmanagedElement*, Int32)

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

GetUnmanagedValuesSource(TUnmanagedElement*, Int32)

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

적용 대상