Volume.Key.Equality Operator
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.
Determines whether the two key objects have the same value.
Overloads
Equality(Volume+Key, Volume+Key) |
Determines whether the two key objects have the same value using specified operands. |
Equality(Volume+Key, Object) |
Determines whether the specified object and the left-hand side of the key are equal. |
Equality(Object, Volume+Key) |
Determines whether the specified object and the right-hand side of the key are equal. |
Equality(Volume+Key, Volume+Key)
Determines whether the two key objects have the same value using specified operands.
public:
static bool operator ==(Microsoft::SqlServer::Management::Utility::Volume::Key ^ leftOperand, Microsoft::SqlServer::Management::Utility::Volume::Key ^ rightOperand);
public static bool operator == (Microsoft.SqlServer.Management.Utility.Volume.Key leftOperand, Microsoft.SqlServer.Management.Utility.Volume.Key rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.Utility.Volume.Key * Microsoft.SqlServer.Management.Utility.Volume.Key -> bool
Public Shared Operator == (leftOperand As Volume.Key, rightOperand As Volume.Key) As Boolean
Parameters
- leftOperand
- Volume.Key
The operand object to the left of the equality operator.
- rightOperand
- Volume.Key
The operand object to the right of the equality operator.
Returns
true
if the objects are the same; otherwise, false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Equals%28Microsoft.SqlServer.Management.Utility.Volume.Key%2CMicrosoft.SqlServer.Management.Utility.Volume.Key%29?displayProperty=fullName>
Applies to
Equality(Volume+Key, Object)
Determines whether the specified object and the left-hand side of the key are equal.
public:
static bool operator ==(Microsoft::SqlServer::Management::Utility::Volume::Key ^ leftOperand, System::Object ^ obj);
public static bool operator == (Microsoft.SqlServer.Management.Utility.Volume.Key leftOperand, object obj);
static member ( = ) : Microsoft.SqlServer.Management.Utility.Volume.Key * obj -> bool
Public Shared Operator == (leftOperand As Volume.Key, obj As Object) As Boolean
Parameters
- leftOperand
- Volume.Key
A key object that contains the left-hand side of the key to compare.
- obj
- Object
An object that contains the object to compare.
Returns
true
if the two objects are equal; otherwise, false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Equals%28Microsoft.SqlServer.Management.Utility.Volume.Key%2CSystem.Object%29?displayProperty=fullName>
Applies to
Equality(Object, Volume+Key)
Determines whether the specified object and the right-hand side of the key are equal.
public:
static bool operator ==(System::Object ^ obj, Microsoft::SqlServer::Management::Utility::Volume::Key ^ rightOperand);
public static bool operator == (object obj, Microsoft.SqlServer.Management.Utility.Volume.Key rightOperand);
static member ( = ) : obj * Microsoft.SqlServer.Management.Utility.Volume.Key -> bool
Public Shared Operator == (obj As Object, rightOperand As Volume.Key) As Boolean
Parameters
- obj
- Object
An object that contains the object to compare.
- rightOperand
- Volume.Key
A key object that contains the right-hand side of the key to compare.
Returns
true
if the two objects are equal; otherwise, false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Equals%28System.Object%2CMicrosoft.SqlServer.Management.Utility.Volume.Key%29?displayProperty=fullName>