次の方法で共有


Solution2.Version プロパティ

Microsoft Office InfoPath フォーム テンプレートのバージョン番号を取得します。

名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)

構文

'宣言
<DispIdAttribute(3)> _
ReadOnly Property Version As String
'使用
Dim instance As Solution2
Dim value As String

value = instance.Version
[DispIdAttribute(3)] 
string Version { get; }

プロパティ値

Microsoft Office InfoPath フォーム テンプレートのバージョン番号。

コメント

InfoPath アプリケーションのバージョン番号を取得するには、Version を使用します。

thisXDocument.UI.Alert("Version: " + thisXDocument.Solution.Version);

関連項目

参照

Solution2 インターフェイス
Solution2 のメンバ
Microsoft.Office.Interop.InfoPath 名前空間