Share via


NameKey.Equals Method

Definition

Determines whether the object represented by the NameKey is equal to the specified object.

Overloads

Equals(SfcKey)

Determines whether the object represented by the current NameKey is equal to the object represented by the specified key.

Equals(Object)

Determines whether the object represented by the NameKey is equal to the specified Object.

Equals(Object, Object)

Determines whether the two specified objects are equal.

Equals(SfcKey)

Determines whether the object represented by the current NameKey is equal to the object represented by the specified key.

public:
 override bool Equals(Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey ^ key);
public override bool Equals (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey key);
override this.Equals : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> bool
Public Overrides Function Equals (key As SfcKey) As Boolean

Parameters

key
SfcKey

Specifies the SfcKey for the object to compare to the current NameKey.

Returns

A Boolean value that indicates whether the two objects are equal. If True, both objects are equal; otherwise, False.

Applies to

Equals(Object)

Determines whether the object represented by the NameKey is equal to the specified Object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

A Object to compare against the object represented by the NameKey.

Returns

A Boolean value that indicates whether the two objects are equal. If True, both objects are equal; otherwise, False.

Applies to

Equals(Object, Object)

Determines whether the two specified objects are equal.

public:
 static bool Equals(System::Object ^ obj1, System::Object ^ obj2);
public static bool Equals (object obj1, object obj2);
static member Equals : obj * obj -> bool
Public Shared Function Equals (obj1 As Object, obj2 As Object) As Boolean

Parameters

obj1
Object

Specifies the first object to compare.

obj2
Object

Specifies the second object to compare.

Returns

A Boolean value that indicates whether the two objects are equal. If True, both objects are equal; otherwise, False.

Applies to