Condividi tramite


Costruttore TestAndCategoryPair (TestId, TestListCategoryId, Boolean, Boolean)

Inizializza una nuova istanza della classe TestAndCategoryPair utilizzando l'ID test e l'ID categoria specificati e l'indicatore di un collegamento interrotto.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    testId As TestId, _
    categoryId As TestListCategoryId, _
    isBrokenLink As Boolean, _
    isEnabled As Boolean _
)
public TestAndCategoryPair(
    TestId testId,
    TestListCategoryId categoryId,
    bool isBrokenLink,
    bool isEnabled
)
public:
TestAndCategoryPair(
    TestId^ testId, 
    TestListCategoryId^ categoryId, 
    bool isBrokenLink, 
    bool isEnabled
)
new : 
        testId:TestId * 
        categoryId:TestListCategoryId * 
        isBrokenLink:bool * 
        isEnabled:bool -> TestAndCategoryPair
public function TestAndCategoryPair(
    testId : TestId, 
    categoryId : TestListCategoryId, 
    isBrokenLink : boolean, 
    isEnabled : boolean
)

Parametri

  • isBrokenLink
    Tipo: System.Boolean
    true se il collegamento tra il test e la categoria è interrotto.
  • isEnabled
    Tipo: System.Boolean
    true se il collegamento tra il test e la categoria è abilitato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestAndCategoryPair Classe

Overload TestAndCategoryPair

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common

TestId

TestListCategoryId