XmlEventArgs.Match property

Gets an XPathExpression object which contains an XPath expression that returns the node that is currently being changed.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Match As XPathExpression
    Get
'Usage
Dim instance As XmlEventArgs
Dim value As XPathExpression

value = instance.Match
public abstract XPathExpression Match { get; }

Property value

Type: System.Xml.XPath.XPathExpression
A XPathExpression object that returns the node that is currently being changed in the form's underlying XML document.

Remarks

The XPathExpression object returned by Match property contains a compiled XPath expression that points to a node in the form's underlying XML document. This is the node that raised the event to which the event handler is responding.

This member can be accessed without restrictions.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See also

Reference

XmlEventArgs class

XmlEventArgs members

Microsoft.Office.InfoPath namespace