AssemblyInstaller.CommandLine プロパティ
アセンブリ: System.Configuration.Install (system.configuration.install.dll 内)

Dim instance As AssemblyInstaller Dim value As String() value = instance.CommandLine instance.CommandLine = value
public: property array<String^>^ CommandLine { array<String^>^ get (); void set (array<String^>^ value); }
/** @property */ public String[] get_CommandLine () /** @property */ public void set_CommandLine (String[] value)
アセンブリのインストール用に新しい InstallContext オブジェクトを作成するときに使用するコマンド ラインを表す String 型の配列。

AssemblyInstaller の CommandLine プロパティをログ ファイル名に設定する例を次に示します。
' Set the logfile name in the commandline argument array. Dim commandLineOptions(0) As String commandLineOptions(0) = "/LogFile=example.log" myAssemblyInstaller.CommandLine = commandLineOptions
// Set the logfile name in the commandline argument array. string[] commandLineOptions = new string[ 1 ] {"/LogFile=example.log"}; myAssemblyInstaller.CommandLine = commandLineOptions;
// Set the logfile name in the commandline argument array. array<String^>^commandLineOptions = {"/LogFile=example.log"}; myAssemblyInstaller->CommandLine = commandLineOptions;


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- AssemblyInstaller.CommandLine プロパティのページへのリンク