Bridge

String..::..Equals Method (String, StringComparison)

Determines whether this string and a specified String object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public bool Equals(
	string value,
	StringComparison comparisonType
)
<TemplateAttribute> _
Public Function Equals ( _
	value As String, _
	comparisonType As StringComparison _
) As Boolean
[TemplateAttribute]
public:
bool^ Equals(
	String^ value, 
	StringComparison^ comparisonType
)

Parameters

value
Type: System..::..String
The string to compare to this instance.
comparisonType
Type: System..::..StringComparison
One of the enumeration values that specifies how the strings will be compared.

Return Value

true if the value of the value parameter is the same as this string; otherwise, false.