ComVariantMarshaller Classe

Définition

Marshale un Object à un 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
Héritage
ComVariantMarshaller
Attributs

Remarques

Prend en charge les mêmes types, ainsi Create<T>(T) que tous les types avec GeneratedComClassAttribute appliqués.

Méthodes

Nom Description
ConvertToManaged(ComVariant)

Convertit un objet managé non managé ComVariant .

ConvertToUnmanaged(Object)

Convertit un objet managé en un objet non managé ComVariant.

Free(ComVariant)

Supprime le non géré ComVariant.

S’applique à