NameKey.Equals NameKey.Equals NameKey.Equals Method

Definition

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

Overloads

Equals(SfcKey) Equals(SfcKey) Equals(SfcKey)

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

Equals(Object) Equals(Object) Equals(Object)

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

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Determines whether the two specified objects are equal.

Equals(SfcKey) Equals(SfcKey) 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);
Public Overrides Function Equals (key As SfcKey) As Boolean

Parameters

key
SfcKey SfcKey SfcKey

The specified key.

Returns

True if object represented by the current Namekey is equal to the object represented by the specified key; otherwise, false.

Equals(Object) Equals(Object) 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);
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object

The specified object.

Returns

True if the object represented by the NameKey is equal to the specified object; otherwise, false.

Equals(Object, Object) Equals(Object, Object) 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);
Public Shared Function Equals (obj1 As Object, obj2 As Object) As Boolean

Parameters

obj1
Object Object Object

The first object to compare.

obj2
Object Object Object

The second object to compare.

Returns

True if the two specified objects are equal; otherwise, false.

Applies to