DotNetBrowser  1.14
Classes | Properties | List of all members
DotNetBrowser.XPathResult Class Reference

Represents the result of evaluating the XPath expression. More...

Properties

XPathResultType ResultType [get]
 Gets the result type or null if an error occurred when evaluating XPath expression. More...
 
bool IsNumber [get]
 Gets true if the result type is XPathResultType.NUMBER_TYPE. More...
 
double Number [get]
 Gets the result represented as a number. More...
 
bool IsString [get]
 Gets true if the result is XPathResultType.STRING_TYPE More...
 
string String [get]
 Gets the result represented as a string. More...
 
bool IsBoolean [get]
 Gets true if the result is XPathResultType.BOOLEAN_TYPE More...
 
bool Boolean [get]
 Gets the result represented as a boolean. More...
 
bool IsSingleNode [get]
 Gets true if the result is XPathResultType.FIRST_ORDERED_NODE_TYPE or XPathResultType.ANY_UNORDERED_NODE_TYPE More...
 
DOMNode SingleNode [get]
 Gets the result represented as a single node. More...
 
bool IsSnapshotNodes [get]
 Gets true if the result is XPathResultType.ORDERED_NODE_SNAPSHOT_TYPE or XPathResultType.UNORDERED_NODE_SNAPSHOT_TYPE More...
 
List< DOMNodeSnapshotNodes [get]
 Gets the list of nodes when the result type is XPathResultType.ORDERED_NODE_SNAPSHOT_TYPE or XPathResultType.UNORDERED_NODE_SNAPSHOT_TYPE More...
 
bool IsIterator [get]
 Gets true if the result is XPathResultType.ORDERED_NODE_ITERATOR_TYPE or XPathResultType.UNORDERED_NODE_ITERATOR_TYPE More...
 
IEnumerable< XPathIteratorItemIterator [get]
 Gets iterator over the XPath result node set. More...
 
bool IsError [get]
 Gets true when an error occurred. More...
 
string ErrorMessage [get]
 Gets the error message if the last operation failed, an empty string otherwise. More...
 

Detailed Description

Represents the result of evaluating the XPath expression.

Property Documentation

bool DotNetBrowser.XPathResult.Boolean
get

Gets the result represented as a boolean.

string DotNetBrowser.XPathResult.ErrorMessage
get

Gets the error message if the last operation failed, an empty string otherwise.

bool DotNetBrowser.XPathResult.IsBoolean
get

Gets true if the result is XPathResultType.BOOLEAN_TYPE

bool DotNetBrowser.XPathResult.IsError
get

Gets true when an error occurred.

bool DotNetBrowser.XPathResult.IsIterator
get
bool DotNetBrowser.XPathResult.IsNumber
get

Gets true if the result type is XPathResultType.NUMBER_TYPE.

bool DotNetBrowser.XPathResult.IsSingleNode
get
bool DotNetBrowser.XPathResult.IsSnapshotNodes
get
bool DotNetBrowser.XPathResult.IsString
get

Gets true if the result is XPathResultType.STRING_TYPE

IEnumerable<XPathIteratorItem> DotNetBrowser.XPathResult.Iterator
get

Gets iterator over the XPath result node set.

double DotNetBrowser.XPathResult.Number
get

Gets the result represented as a number.

XPathResultType DotNetBrowser.XPathResult.ResultType
get

Gets the result type or null if an error occurred when evaluating XPath expression.

DOMNode DotNetBrowser.XPathResult.SingleNode
get

Gets the result represented as a single node.

List<DOMNode> DotNetBrowser.XPathResult.SnapshotNodes
get
string DotNetBrowser.XPathResult.String
get

Gets the result represented as a string.