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