Overview | Returns the bound of a string or sequence, or the number of elements in an array. |
Original class | CORBA::TypeCode |
Exceptions | CORBA::SystemException |
CORBA::TypeCode::BadKind |
Intended Usage
The length method can be invoked on string, sequence, and array TypeCodes. For strings and sequences, the length method returns a bound, with zero indicating an unbounded string or sequence. For arrays, the length method returns the number of elements in an array.
Syntax
CORBA::ULong length() const;
Input parameters
None.
Return values