Class XPathPart
- Namespace
- SunamoData.Data
- Assembly
- SunamoData.dll
Represents a parsed XPath expression part with tag and optional attribute.
public class XPathPart
- Inheritance
-
XPathPart
- Inherited Members
- Extension Methods
Constructors
XPathPart(string)
Initializes a new instance of the XPathPart class by parsing an XPath expression.
public XPathPart(string xpathExpression)
Parameters
xpathExpressionstringThe XPath expression to parse.
Exceptions
- Exception
Thrown when brackets are not properly closed.
Properties
AttributeName
Gets or sets the attribute name.
public string AttributeName { get; set; }
Property Value
AttributeValue
Gets or sets the attribute value.
public string AttributeValue { get; set; }
Property Value
Tag
Gets or sets the tag name.
public string Tag { get; set; }