NamedKey<T>.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(NamedKey<T>) |
Compare a name key to this key for value equality. |
Equals(SfcKey) |
Compare a name key to this key for value equality. |
Equals(Object) |
Compare a name key to this key for value equality. |
Equals(Object, Object) |
Equals static operator for a key. |
Equals(NamedKey<T>)
Compare a name key to this key for value equality.
public bool Equals (Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T> other);
override this.Equals : Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> -> bool
Public Function Equals (other As NamedKey(Of T)) As Boolean
Parameters
- other
- NamedKey<T>
A key to compare.
Returns
True if the keys are equal in value; otherwise false.
Implements
Applies to
Equals(SfcKey)
Compare a name key to this key for value equality.
public override bool Equals (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey other);
override this.Equals : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> bool
Public Overrides Function Equals (other As SfcKey) As Boolean
Parameters
- other
- SfcKey
A key to compare.
Returns
True if the keys are equal in value; otherwise false.
Applies to
Equals(Object)
Compare a name key to this key for value equality.
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
A key to compare.
Returns
True if the keys are equal in value; otherwise false.
Applies to
Equals(Object, Object)
Equals static operator for a key.
public static bool Equals (object leftOperand, object rightOperand);
static member Equals : obj * obj -> bool
Public Shared Function Equals (leftOperand As Object, rightOperand As Object) As Boolean
Parameters
- leftOperand
- Object
A key to compare.
- rightOperand
- Object
A key to compare.
Returns
True if the keys are equal; otherwise false.