[Enterprise Extensions only]

NVList::item

Overview Returns the named value associated with the input index.
Original class CORBA::NVList
Exceptions CORBA::SystemException


Intended Usage

The item method is used by a client program when querying the NVList associated with a DII request. The item method returns the named value associated with the input index.

IDL Syntax

  CORBA::NamedValue_ptr item(CORBA::ULong index);

Input parameters

index
The index of the desired named value, starting at zero. A system exception is raised if the input index is greater than or equal to the number of elements in the named value list.

Return values

CORBA::NamedValue_ptr
A pointer to the named value associated with the input index. Ownership of the return value is maintained by the NamedValue; the return value must not be freed by the caller.