ComVariantMarshaller Klas

Definitie

Marshals an Object naar een 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
Overname
ComVariantMarshaller
Kenmerken

Opmerkingen

Ondersteunt dezelfde typen als Create<T>(T) alle typen die worden GeneratedComClassAttribute toegepast.

Methoden

Name Description
ConvertToManaged(ComVariant)

Converteert een niet-beheerd ComVariant object naar een beheerd object.

ConvertToUnmanaged(Object)

Converteert een beheerd object naar een niet-beheerd ComVariantobject.

Free(ComVariant)

Verwijdert de onbeheerde ComVariant.

Van toepassing op