ComVariantMarshaller.ConvertToManaged(ComVariant) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an unmanaged ComVariant to a managed object.
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
Parameters
- unmanaged
- ComVariant
The unmanaged variant.
Returns
A managed object that represents the same value as unmanaged
.
Exceptions
The type of data stored in unmanaged
is not supported.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.