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: Int32The zero-based index of the element to replace.
item
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestActionThe TestActionCollection for the element at the specified index.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.