Microsoft SDK for Java

getDispatch

This method of the Variant Class retrieves the value of a VT_DISPATCH Variant.

Syntax

public native Object getDispatch();

Return Value

Returns the Variant object's value, which is converted to a Java object.

Exceptions

ClassCastException if the variant type is not VT_DISPATCH.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.