TestId.Equals 方法 (TestId)

傳回值,這個值表示所提供的測試 ID 是否等於目前的物件。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
Public Function Equals ( _
    other As TestId _
) As Boolean
public bool Equals(
    TestId other
)
public:
virtual bool Equals(
    TestId^ other
) sealed
abstract Equals : 
        other:TestId -> bool 
override Equals : 
        other:TestId -> bool 
public final function Equals(
    other : TestId
) : boolean

參數

傳回值

型別:System.Boolean
如果所提供的測試 ID 等於目前的物件,則為 true,否則為 false。

實作

IEquatable<T>.Equals(T)

.NET Framework 安全性

請參閱

參考

TestId 類別

Equals 多載

Microsoft.VisualStudio.TestTools.Common 命名空間