Microsoft SDK for Java

getByte

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

Syntax

public byte getByte();

Return Value

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

Exceptions

ClassCastException if the variant type is not VT_UI1.

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