次の方法で共有


Equals メソッド (SfcKey)

現在の NameKey によって表されるオブジェクトが、指定したキーによって表されるオブジェクトと等しいかどうかを判定します。

名前空間:  Microsoft.SqlServer.Management.Utility
アセンブリ:  Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)

構文

'宣言
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'使用
Dim instance As NameKey
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

パラメーター

戻り値

型: System. . :: . .Boolean
2 つのオブジェクトが等しいかどうかを示す Boolean 値です。True の場合、両方のオブジェクトは同一です。それ以外の場合は False です。

実装

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