Share via


SchemaNamedKey<T>.Equals Method (Object, Object)

Compares two keys for value equality.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Function Equals ( _
    leftOperand As Object, _
    rightOperand As Object _
) As Boolean
'Usage
Dim leftOperand As Object 
Dim rightOperand As Object 
Dim returnValue As Boolean 

returnValue = SchemaNamedKey.Equals(leftOperand, _
    rightOperand)
public static bool Equals(
    Object leftOperand,
    Object rightOperand
)
public:
static bool Equals(
    Object^ leftOperand, 
    Object^ rightOperand
)
static member Equals : 
        leftOperand:Object * 
        rightOperand:Object -> bool
public static function Equals(
    leftOperand : Object, 
    rightOperand : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if both keys are equal or both keys are nulla null reference (Nothing in Visual Basic); otherwise, false.

See Also

Reference

SchemaNamedKey<T> Class

Equals Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace