_Application2.Version 属性

定义

获取 InfoPath 版本号。

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

属性值

实现

示例

在以下示例中,对象的 Version 属性 Application 用于在消息框中显示应用程序的版本号:

thisXDocument.UI.Alert("Application version: " + thisApplication.<span class="label">Version</span>);

注解

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

若要获取表单模板的版本号,请使用 Version 属性。

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

适用于