com.pcbsys.nirvana.client.nEventPropertiesIterator Class Reference

This class allows you to iterate through the nEventProperties to examine the key,value pairs More...

Inherits IDictionaryEnumerator.

Public Member Functions

Boolean MoveNext ()
 Advance to the next item. More...
 
void Reset ()
 Validate the IEnumerator index and throw an exception if the index is out of range. More...
 

Properties

Object Current [get]
 Return the item at the current index
 
DictionaryEntry Entry [get]
 Return the current dictionary entry. More...
 
Object Key [get]
 Return the key of the current item. More...
 
Object Value [get]
 Return the value of the current item. More...
 

Detailed Description

This class allows you to iterate through the nEventProperties to examine the key,value pairs

The iterator will either be constructed from the DictionaryEntry items, the key set or the values set of the nEventProperties object

To use the entry set iterator call the getEntrySet() method on the nEventProperties object: nEventPropertiesIterator it = prop.getEntrySet(); while (it.MoveNext() ) { DictionaryEntry next = it.Entry; Object key = next.Key; Object value = prop.get(key); }

nEventProperties

Member Function Documentation

Boolean com.pcbsys.nirvana.client.nEventPropertiesIterator.MoveNext ( )

Advance to the next item.

void com.pcbsys.nirvana.client.nEventPropertiesIterator.Reset ( )

Validate the IEnumerator index and throw an exception if the index is out of range.

Reset the index to restart the IEnumerator.

Property Documentation

DictionaryEntry com.pcbsys.nirvana.client.nEventPropertiesIterator.Entry
get

Return the current dictionary entry.

Object com.pcbsys.nirvana.client.nEventPropertiesIterator.Key
get

Return the key of the current item.

Object com.pcbsys.nirvana.client.nEventPropertiesIterator.Value
get

Return the value of the current item.