String::Equals Method

 

Determines whether two String objects have the same value.

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether this instance and a specified object, which must also be a String object, have the same value.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodEquals(String^)

Determines whether this instance and another specified String object have the same value.

System_CAPS_pubmethodSystem_CAPS_staticEquals(String^, String^)

Determines whether two specified String objects have the same value.

System_CAPS_pubmethodSystem_CAPS_staticEquals(String^, String^, StringComparison)

Determines whether two specified String objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.

System_CAPS_pubmethodEquals(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.

Return to top
Show: