XPathSubscriptionExpression Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class is responsible for translating both ways between XPath stored in the dabases into a readable FilterName/Operator/FilterValue
public class XPathSubscriptionExpression : Microsoft.VisualStudio.Services.Notifications.WebApi.PathSubscriptionExpression
type XPathSubscriptionExpression = class
inherit PathSubscriptionExpression
Public Class XPathSubscriptionExpression
Inherits PathSubscriptionExpression
- Inheritance
Constructors
| Name | Description |
|---|---|
| XPathSubscriptionExpression() | |
Properties
| Name | Description |
|---|---|
| FilterName | (Inherited from PathSubscriptionExpression) |
| FilterNameIgnoreCase | (Inherited from PathSubscriptionExpression) |
| FilterType | (Inherited from PathSubscriptionExpression) |
| FilterValue | (Inherited from PathSubscriptionExpression) |
| Path | (Inherited from PathSubscriptionExpression) |
| PostFilterPath | (Inherited from PathSubscriptionExpression) |
| UseSingleQuoteChar | (Inherited from PathSubscriptionExpression) |
Methods
| Name | Description |
|---|---|
| Parse(String) | |
| ParseLastXPathFilter(String, String, String, String) | |
| ParsePath(String) |
Parse a simple xpath expression. This will look for the last xpath Filter and give you the path before the filter, information about the filter, and the path after the filter |
| ToPath() |
Translates the field query (FieldName, operator, FieldValue) into a valid XPath, e.g. "CoreFields/IntegerFields/Field[Name='ID']/NewValue" = '1' for WorkItemTracking. Will escape special characters in FieldName if needed |