Method Contains
Contains(StringBuilder, String)
Returns true if builder
contains searchValue
.
Declaration
public static bool Contains(this StringBuilder builder, string searchValue)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | builder | The System.Text.StringBuilder to search within. |
System.String | searchValue | The |
Returns
Type | Description |
---|---|
System.Boolean | True if |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
System.ArgumentException | Thrown if |