ScriptNameObjectBase.AppendWithOption(StringBuilder, String, String, Boolean) ScriptNameObjectBase.AppendWithOption(StringBuilder, String, String, Boolean) ScriptNameObjectBase.AppendWithOption(StringBuilder, String, String, Boolean) Method

Definition

Appends text and option text separated from the main text with a “WITH” string and optionally separated by a comma.

protected:
 void AppendWithOption(System::Text::StringBuilder ^ sb, System::String ^ propName, System::String ^ optionText, bool % needsComma);
protected void AppendWithOption (System.Text.StringBuilder sb, string propName, string optionText, ref bool needsComma);
Protected Sub AppendWithOption (sb As StringBuilder, propName As String, optionText As String, ByRef needsComma As Boolean)
Parameters
sb
StringBuilder StringBuilder StringBuilder

Specifies the string builder.

propName
String String String

Specifies the property name.

optionText
String String String

Specifies the option text.

needsComma
Boolean Boolean Boolean

true if the text needs comma; otherwise, false.

Applies to