共用方式為


Equals 方法 ()

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

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'用途
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

參數

  • key
    型別:SfcKey
    A Key object.

傳回值

型別:System. . :: . .Boolean
A Key object that is the key.

實作

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

備註

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