共用方式為


ITestCaseHelper.InPlans Method

Returns a list of test cases that match the given query and that are either included in or excluded from a test plan.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function InPlans ( _
    queryText As String, _
    isInPlans As Boolean _
) As IEnumerable(Of ITestCase)
IEnumerable<ITestCase> InPlans(
    string queryText,
    bool isInPlans
)
IEnumerable<ITestCase^>^ InPlans(
    String^ queryText, 
    bool isInPlans
)
abstract InPlans : 
        queryText:string * 
        isInPlans:bool -> IEnumerable<ITestCase> 
function InPlans(
    queryText : String, 
    isInPlans : boolean
) : IEnumerable<ITestCase>

Parameters

  • queryText
    Type: String

    The Work Item Query Language (WIQL) query to execute.

  • isInPlans
    Type: Boolean

    true to select test cases that are included in one or more test plans; false to select test cases that are not included in a test plan.

Return Value

Type: IEnumerable<ITestCase>
A list of ITestCase objects.

.NET Framework Security

See Also

Reference

ITestCaseHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase