RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System::OleVariant::operator_unsignedshort

Converts the System::OleVariant to an unsigned short value.

Use one of the unsigned short conversion operators to cast the System::OleVariant to an unsigned short value. The first syntax is for an System::OleVariant with a value that can be converted to an unsigned short. To use the second syntax, the TVarData varByRef bit must be set. 

If the conversion is not possible, an EVariantError exception is thrown. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!