DictIterator Class |
Namespace: pdftron.SDF
public sealed class DictIterator : IClosable
The DictIterator type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Equals |
Checks if this DictIterator is equals to the specified DictIterator object.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasNext |
Checks for the next element.
| |
Key |
Gets the key.
| |
Next |
Advances the iterator to the next element of the collection.
| |
Set |
Sets value to the specified DictIterator.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Value |
Gets the value.
|
DictIterator itr = dict.GetDictIterator(); while (itr.HasNext()) { Obj key = itr.Key(); printf(key.GetName()); Obj value = itr.Value(); // ... itr.Next(); }