Share via


Volume.Key.Equals Method

Definition

Determines whether the specified object key is equal to the referenced object key.

Overloads

Equals(SfcKey)

Determines whether the specified object key is equal to the referenced object key.

Equals(Object)

Determines whether the specified object key is equal to the referenced string value.

Equals(Object, Object)

Determines whether the two specified objects are equal.

Equals(SfcKey)

Determines whether the specified object key is equal to the referenced object 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

A SfcKey value that specifies one object.

Returns

A Boolean value that specifies whether the specified key is equal to the referenced object key. If True, the key values are equal. Otherwise, False.

Applies to

Equals(Object)

Determines whether the specified object key is equal to the referenced string value.

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 value that specifies the object to compare.

Returns

A Boolean value that specifies whether the specified key is equal to the referenced object key. If True, the key values 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

A Object value that specifies one object.

obj2
Object

A Object value that specifies another object.

Returns

A Boolean value that specifies whether the specified key is equal to the referenced object key. If True, the key values are equal. Otherwise, False.

Applies to