BuildComponentUtilitiesEvalXPathExpr(IXPathNavigable, XPathExpression, CustomContext) Method
This is used to get the string result from evaluating an XPath expression against the given
document and context.
Namespace: Sandcastle.Core.BuildAssemblerAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static string EvalXPathExpr(
this IXPathNavigable document,
XPathExpression expression,
CustomContext context
)
<ExtensionAttribute>
Public Shared Function EvalXPathExpr (
document As IXPathNavigable,
expression As XPathExpression,
context As CustomContext
) As String
public:
[ExtensionAttribute]
static String^ EvalXPathExpr(
IXPathNavigable^ document,
XPathExpression^ expression,
CustomContext^ context
)
[<ExtensionAttribute>]
static member EvalXPathExpr :
document : IXPathNavigable *
expression : XPathExpression *
context : CustomContext -> string
- document IXPathNavigable
- The document to use
- expression XPathExpression
- The XPath expression to evaluate
- context CustomContext
- The context to use
StringThe evaluated expression resultIn Visual Basic and C#, you can call this method as an instance method on any object of type
IXPathNavigable. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).