Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Runtime.​InteropServices.​Marshalling.​ComVariant

Assembly: System.Runtime.InteropServices

A type that represents an OLE VARIANT in managed code.

Properties

public VarEnum
VarType
The type of the data stored in this <see cref="T:System.Runtime.InteropServices.Marshalling.ComVariant" /> .

Methods

public void
Dispose​()
Release resources owned by this <see cref="T:System.Runtime.InteropServices.Marshalling.ComVariant" /> instance.
public T
As​()
public T&
GetRawDataRef​()
public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object