CommandLineBuilder.IsQuotingRequired(String) CommandLineBuilder.IsQuotingRequired(String) CommandLineBuilder.IsQuotingRequired(String) CommandLineBuilder.IsQuotingRequired(String) Method

Definition

Determines whether the specified string parameter should be surrounded with quotation marks because it contains white space.

protected:
 virtual bool IsQuotingRequired(System::String ^ parameter);
protected virtual bool IsQuotingRequired (string parameter);
abstract member IsQuotingRequired : string -> bool
override this.IsQuotingRequired : string -> bool
Protected Overridable Function IsQuotingRequired (parameter As String) As Boolean

Parameters

parameter
String String String String

The string to examine for characters that require quotation marks.

Returns

true, if the switch parameter should be surrounded with quotation marks; otherwise, false.

Applies to