Solution2.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

属性值

实现

示例

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

注解

若要获取 InfoPath 应用程序的版本号,请使用 Version

重要提示:此成员只能由与当前打开的窗体在同一域中运行的表单访问,或者由已授予跨域权限的表单访问。

适用于