_Application3.Name 属性

定义

获取 InfoPath 应用程序的名称。

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

属性值

实现

示例

在以下示例中Alert(String),通过 XDocument 对象访问的 对象的 方法UIObject用于显示一个指示应用程序名称的消息框:

thisXDocument.UI.Alert("Application name: " + thisApplication.<span class="label">Name</span>); thisXDocument.UI.Alert("Application name: " &amp; thisApplication.<span class="label">Name</span>)

注解

应用程序的名称不包含版本号。 若要获取应用程序的版本号,请使用 Version 属性。

重要说明:可以不受限制地访问此成员。

适用于