<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />

VARIANT

struct VARIANT : IDisposable
VARIANTARG describes arguments passed within DISPPARAMS, and VARIANT to specify variant data that cannot be passed by reference.
public static VARIANT Empty { get; }

public static VARIANT False { get; }

public static VARIANT True { get; }

public bool Byref { get; }

public ref _Anonymous_e__Union data { get; }

public bool IsEmpty { get; }

public VARENUM Type { get; }

public ref VARENUM vt { get; }

public static VARIANT FromObject(object value)

Converts the given object to VARIANT.

public static bool op_Explicit(VARIANT value)

public static VARIANT op_Explicit(bool value)

public static short op_Explicit(VARIANT value)

public static VARIANT op_Explicit(short value)

public static int op_Explicit(VARIANT value)

public static VARIANT op_Explicit(int value)

public static uint op_Explicit(VARIANT value)

public static VARIANT op_Explicit(uint value)

public static BSTR op_Explicit(VARIANT value)

public static VARIANT op_Explicit(string value)

public static VARIANT op_Explicit(BSTR value)

public static CY op_Explicit(VARIANT value)

public static decimal op_Explicit(VARIANT value)

public static VARIANT op_Explicit(IUnknown* value)

public static IUnknown* op_Explicit(VARIANT value)

public static double op_Explicit(VARIANT value)

public static VARIANT op_Explicit(double value)

public void Clear()

public void Dispose()

public object ToObject()