Microsoft SDK for Java

getShortRef

This method of the Variant Class retrieves the referenced value of a VT_BYREF|VT_I2 Variant object.

Syntax

public native short getShortRef();

Return Value

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

Exceptions

ClassCastException if the Variant is of any other type.

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