Click or drag to resize

NumberTreeGetIterator Method (Int32)

Search for the specified key in the NumberTree.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public NumberTreeIterator GetIterator(
	int key
)

Parameters

key
Type: SystemInt32
The number representing the key to be found.

Return Value

Type: NumberTreeIterator
If the key is present the function returns a NumberTreeIterator the points to the given Key/Value pair. If the key is not found the function returns End() (a non-valid) iterator.
Examples
Sample code:
NumberTreeIterator i = dests.Find(5);
if (i.HasNext()) {
    float64 key = i.Key()->GetNumber();
    Obj value = i.Value();
}
See Also