共用方式為


NamedDomainKey<T>.Equals Method

Definition

Overloads

Equals(NamedDomainKey<T>)

Compare a named domain key to this key for value equality.

Equals(SfcKey)

Compare a named domain key to this key for value equality.

Equals(Object)

Compare a named domain key to this key for value equality.

Equals(Object, Object)

Equals static operator for a key.

Equals(NamedDomainKey<T>)

Compare a named domain key to this key for value equality.

public bool Equals (Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T> other);
override this.Equals : Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain)> -> bool
Public Function Equals (other As NamedDomainKey(Of T)) As Boolean

Parameters

other
NamedDomainKey<T>

A key to compare.

Returns

True if the keys are equal in value; otherwise false.

Implements

Applies to

Equals(SfcKey)

Compare a named domain 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 named domain 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.

Applies to