Click or drag to resize

NameTreeGetIterator Method (Byte)

Search for the specified key in the NameTree.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public NameTreeIterator GetIterator(
	byte[] key
)

Parameters

key
Type: SystemByte
A data buffer representing the key to be found.

Return Value

Type: NameTreeIterator
If the key is present the function returns a NameTreeIterator the points to the given Key/Value pair. If the key is not found the function returns End() (a non-valid) iterator.
Examples
NameTreeIterator i = dests.Find("MyKey", 5);
if (i.HasNext()) {
    string key = i.Key().GetAsPDFText();
    Obj value = i.GetValue();
}
See Also