This method of the Variant Class retrieves the referenced value of a VT_BYREF|VT_DISPATCH Variant.
public native Object getDispatchRef();
Returns the Variantobject's referenced value, which is converted to a Java object.
ClassCastException if the Variant is of any other type.