InfoPathEventHandlerAttribute.MatchPath 属性

定义

获取或设置 XPath 表达式,该表达式指定事件源 ((如果适用于属性中的 InfoPathEventHandlerAttribute 事件) )。

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

属性值

注解

重要说明:为了防止事件处理程序的 InfoPathEventHandler 属性规范出错,应仅使用 InfoPath 用户界面命令为事件处理程序代码添加存根。 有关详细信息,请参阅如何:使用 InfoPath 2003 对象模型添加事件处理程序。

适用于