Partager via


WorkItemLinkCollection.GetItem Method

Gets the object in this collection at the specified index.

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

Syntax

'Déclaration
Protected Overrides Function GetItem ( _
    index As Integer _
) As Object
protected override Object GetItem(
    int index
)
protected:
virtual Object^ GetItem(
    int index
) override
abstract GetItem : 
        index:int -> Object 
override GetItem : 
        index:int -> Object 
protected override function GetItem(
    index : int
) : Object

Parameters

  • index
    Type: System.Int32
    The index in this collection from which to retrieve an object.

Return Value

Type: System.Object
The object in this collection at the specified index.

Exceptions

Exception Condition
ArgumentNullException

The index parameter was null.

.NET Framework Security

See Also

Reference

WorkItemLinkCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace