Language

_Application2.Name プロパティ

定義

InfoPath アプリケーションの名前を取得します。

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

プロパティ値

実装

例

次の例では、オブジェクトを Alert(String) 介してアクセスされる オブジェクトの UIObject メソッドを XDocument 使用して、アプリケーションの名前を示すメッセージ ボックスを表示します。

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

注釈

アプリケーションの名前には、バージョン番号は含まれません。 アプリケーションのバージョン番号を取得するには、 プロパティを使用します Version 。

重要: このメンバーには制限なしでアクセスできます。

適用対象