InfoPathEventHandlerAttribute.MatchPath Property
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.
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.