Aracılığıyla paylaş


ComVariantMarshaller Sınıf

Tanım

ComVariantbir Object sıralar.

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
Devralma
ComVariantMarshaller
Öznitelikler

Açıklamalar

Create<T>(T) ile aynı türleri ve GeneratedComClassAttribute uygulanmış tüm türleri destekler.

Yöntemler

ConvertToManaged(ComVariant)

Yönetilmeyen bir ComVariant yönetilen nesneye dönüştürür.

ConvertToUnmanaged(Object)

Yönetilen nesneyi yönetilmeyen bir ComVariantdönüştürür.

Free(ComVariant)

Yönetilmeyen ComVariantatılır.

Şunlara uygulanır