インストーラ コレクション内のすべてのインストーラに関するヘルプ テキストを取得します。
Public Overridable ReadOnly Property HelpText As String
[C#]
public virtual string HelpText {get;}
[C++]
public: __property virtual String* get_HelpText();
[JScript]
public function get HelpText() : String;
プロパティ値
インストーラ コレクション内のすべてのインストーラに関するヘルプ テキスト。たとえば、インストーラの動作や、InstallUtil.exe ユーティリティなどのインストール実行可能ファイルの実行時にインストーラに渡されて解釈されるコマンド ライン オプションなどの説明が含まれます。
使用例
[Visual Basic, C#, C++] HelpText プロパティの例を次に示します。このプロパティは、 Installer クラスで定義されています。このプロパティは、呼び出されると、 Installer の説明、および Installutil.exe ユーティリティなど、インストールの実行可能ファイルに対するコマンド ライン オプションを返します。これらのオプションは Installer に渡されて認識されます。
' Override the property 'HelpText'.
Public Overrides ReadOnly Property HelpText() As String
Get
Return _
"Installer Description : This is a sample Installer" + ControlChars.NewLine + _
"HelpText is used to provide useful information about the installer."
End Get
End Property
[C#]
// Override the property 'HelpText'.
public override string HelpText
{
get
{
return "Installer Description : This is a sample Installer\n"
+ "HelpText is used to provide useful information about the "
+ "installer.";
}
}
[C++]
// Override the property 'HelpText'.
__property String* get_HelpText() {
return S"Installer Description : This is a sample Installer\n"
S"HelpText is used to provide useful information about the installer.";
}
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- 直前の呼び出し元の完全信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細の参照先 : 部分信頼コードからのライブラリの使用
参照
Installer クラス | Installer メンバ | System.Configuration.Install 名前空間 | Installers