Check whether the specified strings are equal.
Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
    x As String, _
    y As String _
) As Boolean
public override bool Equals(
    string x,
    string y
)
public:
virtual bool Equals(
    String^ x, 
    String^ y
) override
abstract Equals : 
        x:string * 
        y:string -> bool  
override Equals : 
        x:string * 
        y:string -> bool
public override function Equals(
    x : String, 
    y : String
) : boolean
Parameters
- x 
 Type: System.String- The first string. 
- y 
 Type: System.String- The second string. 
Return Value
Type: System.Boolean
True if the specified strings are equal; otherwise, false.
Implements
IEqualityComparer<T>.Equals(T, T)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.