_Application3.Version 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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>);
thisXDocument.UI.Alert("Application version: " & _
thisApplication.<span class="label">Version</span>)
在以下示例中,对象的 Version 属性 Application 用于在消息框中显示应用程序的版本号:
thisXDocument.UI.Alert("Application version: " +
thisApplication.<span class="label">Version</span>);
thisXDocument.UI.Alert("Application version: " & _
thisApplication.<span class="label">Version</span>)
注解
应用程序的版本号不包含名称。 若要获取应用程序的名称,请使用 Name 属性
若要获取表单模板的版本号,请使用 Version 属性。
重要说明:可以不受限制地访问此成员。