Delen via


StoredQueryCollection.AddItem Method

Adds the specified object to this collection.

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

Syntax

'Declaration
Protected Overrides Function AddItem ( _
    value As Object _
) As Integer
protected override int AddItem(
    Object value
)
protected:
virtual int AddItem(
    Object^ value
) override
abstract AddItem : 
        value:Object -> int  
override AddItem : 
        value:Object -> int
protected override function AddItem(
    value : Object
) : int

Parameters

  • value
    Type: System.Object

    The object to add to this collection.

Return Value

Type: System.Int32
The index of the newly added object.

.NET Framework Security

See Also

Reference

StoredQueryCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace