Microsoft Office InfoPath 2007 のバージョン番号を取得します。
名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)
構文
'宣言
<DispIdAttribute(5)> _
ReadOnly Property Version As String
'使用
Dim instance As _Application3
Dim value As String
value = instance.Version
[DispIdAttribute(5)]
string Version { get; }
プロパティ値
Microsoft Office InfoPath 2007 のバージョン番号。
コメント
アプリケーションのバージョン番号には、名前は含まれません。アプリケーションのバージョン名を取得するには、Name プロパティを使用します。
フォーム テンプレートのバージョン番号を取得するには、Version プロパティを使用します。
例
次の例では、Application オブジェクトの Version プロパティを使用して、アプリケーションのバージョン番号をメッセージ ボックスに表示しています。
thisXDocument.UI.Alert("Application version: " + thisApplication.Version);
関連項目
参照
_Application3 インターフェイス
_Application3 のメンバ
Microsoft.Office.Interop.InfoPath 名前空間