Determines whether the specified command line parameter is true.
[Visual Basic] Overridable Public Function IsParameterTrue( _ ByVal paramName As String _ ) As Boolean [C#] public virtual bool IsParameterTrue( string paramName ); [C++] public: virtual bool IsParameterTrue( String* paramName ); [JScript] public function IsParameterTrue( paramName : String ) : Boolean;
true if the given parameter is set to "yes", "true", "1", or an empty string (""); otherwise, false.
This method accesses the Parameters property, which contains a parsed version of the command line arguments, to determine whether the given parameter is true.
InstallContext Class | InstallContext Members | System.Configuration.Install Namespace | Parameters