Search Results for

    Show / Hide Table of Contents
    View Source

    Class XPathNavigatorExtensions

    Provides extensions to XPathNavigator.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class XPathNavigatorExtensions

    Methods

    View Source

    Select(XPathNavigator, String, XPathVariable[])

    Selects a node set, using the specified XPath expression.

    Declaration
    public static XPathNodeIterator Select(this XPathNavigator navigator, string expression, params XPathVariable[] variables)
    Parameters
    Type Name Description
    System.Xml.XPath.XPathNavigator navigator

    A source XPathNavigator.

    System.String expression

    An XPath expression.

    XPathVariable[] variables

    A set of XPathVariables.

    Returns
    Type Description
    System.Xml.XPath.XPathNodeIterator

    An iterator over the nodes matching the specified expression.

    View Source

    Select(XPathNavigator, XPathExpression, XPathVariable[])

    Selects a node set, using the specified XPath expression.

    Declaration
    public static XPathNodeIterator Select(this XPathNavigator navigator, XPathExpression expression, params XPathVariable[] variables)
    Parameters
    Type Name Description
    System.Xml.XPath.XPathNavigator navigator

    A source XPathNavigator.

    System.Xml.XPath.XPathExpression expression

    An XPath expression.

    XPathVariable[] variables

    A set of XPathVariables.

    Returns
    Type Description
    System.Xml.XPath.XPathNodeIterator

    An iterator over the nodes matching the specified expression.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Select(XPathNavigator, String, XPathVariable[])
      • Select(XPathNavigator, XPathExpression, XPathVariable[])
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX