Edit

Share via


InfoPathEventHandlerAttribute.MatchPath Property

Definition

Gets or sets the XPath expression that specifies the event source (when applicable to the event) in an InfoPathEventHandlerAttribute attribute.

public:
 property System::String ^ MatchPath { System::String ^ get(); void set(System::String ^ value); };
public string MatchPath { get; set; }
member this.MatchPath : string with get, set
Public Property MatchPath As String

Property Value

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.

Applies to