共用方式為


TestActionCollection.InsertItem Method

Inserts the provided test action into the collection at the specified index.

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

Syntax

'Declaration
Protected Overrides Sub InsertItem ( _
    index As Integer, _
    item As ITestAction _
)
protected override void InsertItem(
    int index,
    ITestAction item
)
protected:
virtual void InsertItem(
    int index, 
    ITestAction^ item
) override
abstract InsertItem : 
        index:int * 
        item:ITestAction -> unit  
override InsertItem : 
        index:int * 
        item:ITestAction -> unit
protected override function InsertItem(
    index : int, 
    item : ITestAction
)

Parameters

  • index
    Type: Int32

    The index for the location to insert the test action item.

.NET Framework Security

See Also

Reference

TestActionCollection Class

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestAction