Create an empty Variant object with type VT_EMPTY.
Create a Variant object which represents a Java float as a VT_R4.
Create a Variant object which represents a Java double as a VT_R8.
Create a Variant object which represents a Java int as a VT_I4.
Create a Variant object which contains a reference to the data being transferred.
Create a Variant object which represents an IDispatch interface as a VT_Dispatch.
Create a Variant object which represents an IDispatch interface as a VT_Dispatch. <p>The caller is expected to have appropriately invoked unknown.AddRef() before creating this Variant.
Create a Variant object which represents an IUnknown interface as a VT_UNKNOWN.
Create a Variant object which represents a Java long as a VT_I8.
Create a Variant object which represents a Java String as a VT_BSTR.
Create a Variant object which represents a Java short as a VT_I2.
Create a Variant object which represents a Java bool as a VT_BOOL.
Calling dispose will release resources associated with this Variant. If the resource is an IDispatch or IUnknown interface, Release will be called. If the resource is a ByRef pointer, nothing is released.
Returns the OleAutomation object represented by this Variant.
Returns the Java bool represented by this Variant.
Returns a pointer to the referenced data represented by this Variant.
Returns the Java byte represented by this Variant.
Returns the Java char represented by this Variant.
Returns the IDispatch object represented by this Variant.
Returns the Java double represented by this Variant.
Returns the Java float represented by this Variant.
Returns the Java int represented by this Variant.
Returns the Java long represented by this Variant.
Returns the Java short represented by this Variant.
Returns the Java String represented by this Variant.
Returns the type of the variant type. This will be an OLE.VT_* value or a bitwise combination of OLE.VT_* values as in the case of OLE.VT_BSTR | OLE.VT_BYREF.
Returns the IUnknown object represented by this Variant.
Update the by reference value of this variant with a new bool value.
Update the by reference value of this variant with a new float value.
Update the by reference value of this variant with a new integer value.
Update the by reference value of this variant with a new short value.
Returns a string containing a concise, human-readable description of the receiver.
Invokes platform specific functionality to copy a variant into operating system memory. <p> <b>IMPORTANT:</b> This method is <em>not</em> part of the public API for <code>Variant</code>. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code. </p>
Invokes platform specific functionality to wrap a variant that was allocated in operating system memory. <p> <b>IMPORTANT:</b> This method is <em>not</em> part of the public API for <code>Variant</code>. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code. </p>
A Variant is a generic OLE mechanism for passing data of different types via a common interface.
<p>It is used within the OleAutomation object for getting a property, setting a property or invoking a method on an OLE Control or OLE Document.