ComVariantMarshaller 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 마샬링 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 도 지원합니다.
메서드
| Name | Description |
|---|---|
| ConvertToManaged(ComVariant) |
관리 ComVariant 되지 않는 개체를 관리되는 개체로 변환합니다. |
| ConvertToUnmanaged(Object) |
관리되는 개체를 관리 ComVariant되지 않는 개체로 변환합니다. |
| Free(ComVariant) |
관리 ComVariant되지 않는 .를 삭제합니다. |