TestId.LessThan 運算子
表示用來判斷提供之物件是否出現在排序清單中其他提供之物件後面的小於運算子 (<)。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Public Shared Operator < ( _
left As TestId, _
right As TestId _
) As Boolean
public static bool operator <(
TestId left,
TestId right
)
public:
static bool operator <(
TestId^ left,
TestId^ right
)
static let inline (<)
left:TestId *
right:TestId : bool
JScript 不支援多載運算子。
參數
- left
型別:Microsoft.VisualStudio.TestTools.Common.TestId
TestId 物件。
- right
型別:Microsoft.VisualStudio.TestTools.Common.TestId
TestId 物件。
傳回值
型別:System.Boolean
如果 left 物件會出現在排序清單中的 right 物件後面,則為 true,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。