Equality 运算符 (Object, Volume.Key)
Determines whether the specified object and the right-hand side of the key are equal.
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
Public Shared Operator = ( _
obj As Object, _
rightOperand As Volume..::..Key _
) As Boolean
用法
Dim obj As Object
Dim rightOperand As Volume..::..Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
Volume..::..Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
Volume..::..Key^ rightOperand
)
static let inline (=)
obj:Object *
rightOperand:Volume..::..Key : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- obj
类型:System. . :: . .Object
An object that contains the object to compare.
- rightOperand
类型:Microsoft.SqlServer.Management.Utility. . :: . .Volume. . :: . .Key
A key object that contains the right-hand side of the key to compare.
返回值
类型:System. . :: . .Boolean
true if the two objects are equal; otherwise, false.