Compartir a través de


ComVariantMarshaller.ConvertToUnmanaged(Object) Método

Definición

Convierte un objeto administrado en un ComVariantno administrado.

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

Parámetros

managed
Object

Objeto administrado.

Devoluciones

Un ComVariant que representa el objeto administrado proporcionado.

Excepciones

No se admite el tipo de managed.

Se aplica a