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;
.NET Framework のセキュリティ
プラットフォーム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 プロパティのページへのリンク