[]
Gets or sets the culture, case, and sort rules to be used in the comparison.
public StringComparison ComparisonType { get; set; }
Public Property ComparisonType As StringComparison
| Type | Description |
|---|---|
| StringComparison | A StringComparison value that specifies the culture, case, and sort rules to be used in the comparison. The default is CurrentCulture. |
| Type | Condition |
|---|---|
| InvalidEnumArgumentException | The assigned value is not defined in StringComparison. |