Compartir a través de


ComVariantMarshaller.ConvertToManaged(ComVariant) Método

Definición

Convierte un ComVariant no administrado en un objeto administrado.

public:
 static System::Object ^ ConvertToManaged(System::Runtime::InteropServices::Marshalling::ComVariant unmanaged);
public static object? ConvertToManaged (System.Runtime.InteropServices.Marshalling.ComVariant unmanaged);
static member ConvertToManaged : System.Runtime.InteropServices.Marshalling.ComVariant -> obj
Public Shared Function ConvertToManaged (unmanaged As ComVariant) As Object

Parámetros

unmanaged
ComVariant

Variante no administrada.

Devoluciones

Objeto administrado que representa el mismo valor que unmanaged.

Excepciones

No se admite el tipo de datos almacenados en unmanaged.

Se aplica a