다음을 통해 공유


ComVariantMarshaller 클래스

정의

Object ComVariant마샬링합니다.

public ref class ComVariantMarshaller abstract sealed
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Object), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.ComVariantMarshaller))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Object), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedRef, typeof(System.Runtime.InteropServices.Marshalling.ComVariantMarshaller+RefPropagate))]
public static class ComVariantMarshaller
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Object), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.ComVariantMarshaller))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Object), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedRef, typeof(System.Runtime.InteropServices.Marshalling.ComVariantMarshaller+RefPropagate))>]
type ComVariantMarshaller = class
Public Class ComVariantMarshaller
상속
ComVariantMarshaller
특성

설명

Create<T>(T) 동일한 형식과 GeneratedComClassAttribute 적용된 모든 형식을 지원합니다.

메서드

ConvertToManaged(ComVariant)

관리되지 않는 ComVariant 관리되는 개체로 변환합니다.

ConvertToUnmanaged(Object)

관리되는 개체를 관리되지 않는 ComVariant변환합니다.

Free(ComVariant)

관리되지 않는 ComVariant삭제합니다.

적용 대상