[Enterprise Extensions only]

NVList::get_item_index

Overview Returns the index of the specified named value.
Original class CORBA::NVList
Exceptions CORBA::SystemException


Intended Usage

The get_item_index method is used by a client program when querying the NVList associated with a DII requst. The get_item_index method returns the index of the specified named value. The argument name comparison is case insensitive. This method is an IBM extension to the CORBA 2.1 specification.

IDL Syntax

  CORBA::Long get_item_index(const char *id);

Input parameters

id
The argument name of the desired named value. A system exception is raised if a null pointer is passed for this parameter.

Return values

CORBA::Long
The index of the specified named value. If the named value list is empty or the input argument name is not found, -1 is returned.