Share via


CollectionItem.Key.Equality Operator

Definition

Overloads

Equality(CollectionItem+Key, CollectionItem+Key)
Equality(CollectionItem+Key, Object)

Both sides are equal if they both null, or Both are not null AND lhs is a Key AND the keys are equal

Equality(Object, CollectionItem+Key)

Both sides are equal if they both null, or Both are not null AND rhs is a Key AND the keys are equal

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

Parameters

Returns

Applies to

Equality(CollectionItem+Key, Object)

Both sides are equal if they both null, or Both are not null AND lhs is a Key AND the keys are equal

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

Parameters

obj
Object

Returns

Applies to

Equality(Object, CollectionItem+Key)

Both sides are equal if they both null, or Both are not null AND rhs is a Key AND the keys are equal

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

Parameters

obj
Object

Returns

Applies to