共用方式為


TestAndCategoryPair Implicit 轉換 (TestAndCategoryPair to TestListCategoryId)

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

在比較 TestAndCategoryPair 物件與 TestListCategoryId 物件時,表示隱含運算子。

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

語法

'宣告
Public Shared Widening Operator CType ( _
    pair As TestAndCategoryPair _
) As TestListCategoryId
public static implicit operator TestListCategoryId (
    TestAndCategoryPair pair
)
static implicit operator TestListCategoryId^ (
    TestAndCategoryPair^ pair
)
F# 不支援新轉型運算子的宣告。
JScript 不支援宣告新的轉型運算子。

參數

傳回值

型別:Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
CategoryId 屬性的值。

.NET Framework 安全性

請參閱

參考

TestAndCategoryPair 類別

Implicit 多載

Microsoft.VisualStudio.TestTools.Common 命名空間

CategoryId