Partager via


Equals méthode ()

Instantiates an instance of the Equals class that is used for Boolean operations.

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

Syntaxe

'Déclaration
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Utilisation
Dim instance As CollectionSet..::..Key
Dim key As SfcKey
Dim returnValue As Boolean

returnValue = instance.Equals(key)
public override bool Equals(
    SfcKey key
)
public:
virtual bool Equals(
    SfcKey^ key
) override
abstract Equals : 
        key:SfcKey -> bool 
override Equals : 
        key:SfcKey -> bool 
public override function Equals(
    key : SfcKey
) : boolean

Paramètres

  • key
    Type : SfcKey
    A Key object.

Valeur de retour

Type : System. . :: . .Boolean
A Key object that is the key.

Implémente

IEquatable< (Of < ( <'T> ) > ) >. . :: . .Equals(T)

Notes

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