Parses the command line arguments into a StringDictionary.
[Visual Basic] Protected Shared Function ParseCommandLine( _ ByVal args() As String _ ) As StringDictionary [C#] protected static StringDictionary ParseCommandLine( string[] args ); [C++] protected: static StringDictionary* ParseCommandLine( String* args[] ); [JScript] protected static function ParseCommandLine( args : String[] ) : StringDictionary;
A StringDictionary containing the parsed command-line arguments.
This method parses the command line parameters that are entered when the installation executable is run. The parameters and their values are parsed into StringDictionary, a case-insensitive hashtable of parameter names and values of type string. Each array entry in args contains a parameter in one of the following formats: "/parametername= value", or "-parametername= value". The command-line parameter "/LogToConsole= true" would be parsed into the StringDictionary with the key = "logtoconsole" and the value = "true".
InstallContext Class | InstallContext Members | System.Configuration.Install Namespace | Parameters | IsParameterTrue