NameKey.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 two objects are the same.
Overloads
Equality(NameKey, NameKey) |
Determines whether the objects represented by the two specified NameKey values are the same. |
Equality(NameKey, Object) |
Determines whether the object represented by the specified NameKey is the same as the specified Object. |
Equality(Object, NameKey) |
Determines whether the the specified Object is the same as the object represented by the specified NameKey . |
Equality(NameKey, NameKey)
Determines whether the objects represented by the two specified NameKey values are the same.
public:
static bool operator ==(Microsoft::SqlServer::Management::Utility::NameKey ^ leftOperand, Microsoft::SqlServer::Management::Utility::NameKey ^ rightOperand);
public static bool operator == (Microsoft.SqlServer.Management.Utility.NameKey leftOperand, Microsoft.SqlServer.Management.Utility.NameKey rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.Utility.NameKey * Microsoft.SqlServer.Management.Utility.NameKey -> bool
Public Shared Operator == (leftOperand As NameKey, rightOperand As NameKey) As Boolean
Parameters
Returns
A Boolean value that is true
if the two objects are the same, otherwise false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.NameKey.Equals%28Microsoft.SqlServer.Management.Utility.NameKey%2CMicrosoft.SqlServer.Management.Utility.NameKey%29?displayProperty=fullName>
Applies to
Equality(NameKey, Object)
public:
static bool operator ==(Microsoft::SqlServer::Management::Utility::NameKey ^ leftOperand, System::Object ^ obj);
public static bool operator == (Microsoft.SqlServer.Management.Utility.NameKey leftOperand, object obj);
static member ( = ) : Microsoft.SqlServer.Management.Utility.NameKey * obj -> bool
Public Shared Operator == (leftOperand As NameKey, obj As Object) As Boolean
Parameters
Returns
A Boolean value that is true
if the two objects are the same, otherwise false
.
Applies to
Equality(Object, NameKey)
public:
static bool operator ==(System::Object ^ obj, Microsoft::SqlServer::Management::Utility::NameKey ^ rightOperand);
public static bool operator == (object obj, Microsoft.SqlServer.Management.Utility.NameKey rightOperand);
static member ( = ) : obj * Microsoft.SqlServer.Management.Utility.NameKey -> bool
Public Shared Operator == (obj As Object, rightOperand As NameKey) As Boolean
Parameters
Returns
A Boolean value that is true
if the two objects are the same, otherwise false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.NameKey.Equals%28System.Object%2CMicrosoft.SqlServer.Management.Utility.NameKey%29?displayProperty=fullName>