Opérateur Equality (CollectionSet.Key, Object)

Opérateur Equality (CollectionSet.Key, Object)

Does a Boolean equality comparison between the object sent as a parameter and the left hand side of the key.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

public static bool operator ==(
	CollectionSet..::..Key lhs,
	Object obj


Type : Microsoft.SqlServer.Management.Collector..::..CollectionSet..::..Key
A Key object containing the left hand side of the key.
Type : System..::..Object
A Key object for comparison.

Valeur de retour

Type : System..::..Boolean
A Boolean value that returns TRUE when:
  • both sides are NULL

  • both sides are not NULL AND lhs is a key AND the keys are equal

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ajouts de la communauté

© 2016 Microsoft