ModelCollationComparer.Equals Method (String, String)
Indicates whether two strings are equal.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function Equals ( _
x As String, _
y As String _
) As Boolean
public bool Equals(
string x,
string y
)
public:
virtual bool Equals(
String^ x,
String^ y
) sealed
abstract Equals :
x:string *
y:string -> bool
override Equals :
x:string *
y:string -> bool
public final function Equals(
x : String,
y : String
) : boolean
Parameters
- x
Type: System.String
A String that represents the source object.
- y
Type: System.String
A String that represents the target object.
Return Value
Type: System.Boolean
true if the two identifiers 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.