ICustomMarshaler 인터페이스

정의

메서드 호출을 처리하기 위한 사용자 지정 래퍼를 제공합니다.

public interface class ICustomMarshaler
public interface ICustomMarshaler
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICustomMarshaler
type ICustomMarshaler = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ICustomMarshaler = interface
Public Interface ICustomMarshaler
파생
특성

설명

이 API에 대한 자세한 내용은 ICustomMarshaler에 대한 추가 API 비고를 참조하세요.

메서드

Name Description
CleanUpManagedData(Object)

관리되는 데이터가 더 이상 필요하지 않은 경우 필요한 정리를 수행합니다.

CleanUpNativeData(IntPtr)

더 이상 필요하지 않은 경우 관리되지 않는 데이터의 필요한 정리를 수행합니다.

GetNativeDataSize()

마샬링할 네이티브 데이터의 크기를 반환합니다.

MarshalManagedToNative(Object)

관리되는 데이터를 관리되지 않는 데이터로 변환합니다.

MarshalNativeToManaged(IntPtr)

관리되지 않는 데이터를 관리되는 데이터로 변환합니다.

적용 대상