# Uses of Class
org.eclipse.swt.ole.win32.Variant

Packages that use Variant
Package
Description
org.eclipse.swt.ole.win32
SWT Win32 OLE implementation classes.

## Uses of Variant in org.eclipse.swt.ole.win32

Fields in org.eclipse.swt.ole.win32 declared as Variant
Modifier and Type
Field
Description
`Variant[]`
OleEvent.`arguments`
`static final Variant`
Variant.`NULL`
A shared Variant instance with type VT_NULL.
Methods in org.eclipse.swt.ole.win32 that return Variant
Modifier and Type
Method
Description
`Variant`
OleAutomation.`getProperty(int dispIdMember)`
Returns the value of the property specified by the dispIdMember.
`Variant`
OleAutomation.`getProperty(int dispIdMember, Variant[] rgvarg)`
Returns the value of the property specified by the dispIdMember.
`Variant`
OleAutomation.`getProperty(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)`
Returns the value of the property specified by the dispIdMember.
`Variant`
OleControlSite.`getSiteProperty(int dispId)`
Get the control site property specified by the dispIdMember, or `null` if the dispId is not recognised.
`Variant`
OleAutomation.`invoke(int dispIdMember)`
Invokes a method on the OLE Object; the method has no parameters.
`Variant`
OleAutomation.`invoke(int dispIdMember, Variant[] rgvarg)`
Invokes a method on the OLE Object; the method has no optional parameters.
`Variant`
OleAutomation.`invoke(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)`
Invokes a method on the OLE Object; the method has optional parameters.
`static Variant`
Variant.`win32_new(long pVariant)`
Invokes platform specific functionality to wrap a variant that was allocated in operating system memory.
Methods in org.eclipse.swt.ole.win32 with parameters of type Variant
Modifier and Type
Method
Description
`int`
OleClientSite.`exec(int cmdID, int options, Variant in, Variant out)`
Asks the OLE Document or ActiveX Control to execute a command from a standard list of commands.
`Variant`
OleAutomation.`getProperty(int dispIdMember, Variant[] rgvarg)`
Returns the value of the property specified by the dispIdMember.
`Variant`
OleAutomation.`getProperty(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)`
Returns the value of the property specified by the dispIdMember.
`Variant`
OleAutomation.`invoke(int dispIdMember, Variant[] rgvarg)`
Invokes a method on the OLE Object; the method has no optional parameters.
`Variant`
OleAutomation.`invoke(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)`
Invokes a method on the OLE Object; the method has optional parameters.
`void`
OleAutomation.`invokeNoReply(int dispIdMember, Variant[] rgvarg)`
Invokes a method on the OLE Object; the method has no optional parameters.
`void`
OleAutomation.`invokeNoReply(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)`
Invokes a method on the OLE Object; the method has optional parameters.
`boolean`
OleAutomation.`setProperty(int dispIdMember, Variant rgvarg)`
Sets the property specified by the dispIdMember to a new value.
`boolean`
OleAutomation.`setProperty(int dispIdMember, Variant[] rgvarg)`
Sets the property specified by the dispIdMember to a new value.
`void`
OleControlSite.`setSiteProperty(int dispId, Variant value)`
Sets the control site property specified by the dispIdMember to a new value.
`static void`
Variant.`win32_copy(long pVarDest, Variant varSrc)`
Invokes platform specific functionality to copy a variant into operating system memory.