IXPathResultSnapshotItem Method |
Returns the indexth item in the snapshot collection. If index is greater than
or equal to the number of nodes in the list, this method returns null. Unlike the
iterator result, the snapshot does not become invalid, but may not correspond to the current
document if it is mutated.
Namespace: Aspose.Html.Dom.XPathAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
SyntaxNode SnapshotItem(
int index
)
Function SnapshotItem (
index As Integer
) As Node
Node^ SnapshotItem(
int index
)
abstract SnapshotItem :
index : int -> Node
Parameters
- index
- Type: SystemInt32
Index into the snapshot collection.
Return Value
Type:
NodeThe node at the
indexth position in the
NodeList, or
null if
that is not a valid index.
ExceptionsException | Condition |
---|
DOMException | TYPE_ERR: raised if resultType is not
UnorderedNodeSnapshot type or OrderedNodeSnapshot type. |
See Also