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
'Declaration
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.Int32The 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
- 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.