CollectionItem.Key.Equality 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| Equality(CollectionItem+Key, CollectionItem+Key) | |
| Equality(CollectionItem+Key, Object) |
如果两端均为 null,则两端均相等,或者两者都不为 null AND lhs 为键,键相等 |
| Equality(Object, CollectionItem+Key) |
如果两端均为 null,或者两者都不为 null,则两端均相等,并且键相等 |
Equality(CollectionItem+Key, CollectionItem+Key)
public static bool operator ==(Microsoft.SqlServer.Management.Collector.CollectionItem.Key lhs, Microsoft.SqlServer.Management.Collector.CollectionItem.Key rhs);
static member ( = ) : Microsoft.SqlServer.Management.Collector.CollectionItem.Key * Microsoft.SqlServer.Management.Collector.CollectionItem.Key -> bool
Public Shared Operator == (lhs As CollectionItem.Key, rhs As CollectionItem.Key) As Boolean
参数
返回
适用于
Equality(CollectionItem+Key, Object)
如果两端均为 null,则两端均相等,或者两者都不为 null AND lhs 为键,键相等
public static bool operator ==(Microsoft.SqlServer.Management.Collector.CollectionItem.Key lhs, object obj);
static member ( = ) : Microsoft.SqlServer.Management.Collector.CollectionItem.Key * obj -> bool
Public Shared Operator == (lhs As CollectionItem.Key, obj As Object) As Boolean
参数
- obj
- Object
返回
适用于
Equality(Object, CollectionItem+Key)
如果两端均为 null,或者两者都不为 null,则两端均相等,并且键相等
public static bool operator ==(object obj, Microsoft.SqlServer.Management.Collector.CollectionItem.Key rhs);
static member ( = ) : obj * Microsoft.SqlServer.Management.Collector.CollectionItem.Key -> bool
Public Shared Operator == (obj As Object, rhs As CollectionItem.Key) As Boolean
参数
- obj
- Object