Partager via


TestActionCollection.SetItem Method

Replaces the test action at the specified index by using the provided test action.

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

Syntax

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

Parameters

  • index
    Type: Int32

    The zero-based index of the element to replace.

.NET Framework Security

See Also

Reference

TestActionCollection Class

Microsoft.TeamFoundation.TestManagement.Client Namespace

TestActionCollection