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
)
Public Function GetIterator (
key As Byte()
) As NameTreeIterator
public:
virtual NameTreeIterator^ GetIterator(
[InAttribute] array<unsigned char>^ key
) sealed
function GetIterator(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