AssemblyInstaller.HelpText 屬性

定義

取得安裝程式集合中所有安裝程式的說明文字。Gets the help text for all the installers in the installer collection.

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

屬性值

安裝程式集合中所有安裝程式的說明文字,包括每個安裝程式執行動作的描述,以及可以傳遞給每個安裝程式且每個安裝程式都可瞭解的 (安裝程式) 命令列選項。The help text for all the installers in the installer collection, including the description of what each installer does and the command-line options (for the installation program) that can be passed to and understood by each installer.

範例

在下列範例中, HelpText的屬性AssemblyInstaller會顯示在主控台中。In the following sample, the HelpText property of an AssemblyInstaller is displayed to the console.

Console::WriteLine( "The 'HelpText' is-" );

// Display the 'HelpText' of this AssemblyInstaller Object*.
Console::WriteLine( myAssemblyInstaller->HelpText );

Console.WriteLine( "The 'HelpText' is-" );
// Display the 'HelpText' of this AssemblyInstaller object.
Console.WriteLine( myAssemblyInstaller.HelpText );
Console.WriteLine("The 'HelpText' is-")
' Display the 'HelpText' of this AssemblyInstaller object.
Console.WriteLine(myAssemblyInstaller.HelpText)

備註

安裝程式的範例是 Installutil.exe 公用程式。An example of an installation program is the InstallUtil.exe utility.

適用於

另請參閱