共用方式為


TestActionResultCollection.SetItem Method

Replaces the provided test action result 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 SetItem ( _
    index As Integer, _
    item As ITestActionResult _
)
protected override void SetItem(
    int index,
    ITestActionResult item
)
protected:
virtual void SetItem(
    int index, 
    ITestActionResult^ item
) override
abstract SetItem : 
        index:int * 
        item:ITestActionResult -> unit  
override SetItem : 
        index:int * 
        item:ITestActionResult -> unit
protected override function SetItem(
    index : int, 
    item : ITestActionResult
)

Parameters

  • index
    Type: Int32

    The zero-based index of the element to replace.

.NET Framework Security

See Also

Reference

TestActionResultCollection Class

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestActionResult