NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNavigator.Evaluate

Evaluates the given expression and returns the typed result (int, boolean or string).

[Visual Basic]
Overridable Public Function Evaluate( _
   ByVal xpathexpr As Object _
) As Object
[C#]
public virtual object Evaluate(
   object xpathexpr
);
[C++]
public: virtual Object* Evaluate(
   Object* xpathexpr
);
[JScript]
public function Evaluate(
   xpathexpr : Object
) : Object;

Parameters

xpathexpr
An expression describing how to navigate. This can be a string or an object returned from the Compile method.

Return Value

The result of the expression.

Exceptions

Exception Type Condition
ArgumentException The return type of the given expression is a node set.

See Also

XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace