InfoPathEventHandlerAttribute.MatchPath property
Gets or sets the XPath expression that specifies the event source (when applicable to the event) in an InfoPathEventHandlerAttribute attribute.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
Public Property MatchPath As String
Get
Set
'Usage
Dim instance As InfoPathEventHandlerAttribute
Dim value As String
value = instance.MatchPath
instance.MatchPath = value
public string MatchPath { get; set; }
Property value
Type: System.String
Remarks
Important
To prevent errors in the specification of the InfoPathEventHandler attribute for an event handler, you should only use InfoPath user interface commands to add the stub for event handler code. For more information, see How to: Add an Event Handler Using the InfoPath 2003 Object Model.
See also
Reference
InfoPathEventHandlerAttribute class