Compartilhar via


Método Equals (SfcKey)

Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (em Microsoft.SqlServer.Management.Collector.dll)

Sintaxe

'Declaração
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Uso
Dim instance As CollectionItem..::..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

Parâmetros

Valor de retorno

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

Implementa

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

Comentários

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