Compartir a través de


AttachmentCollection.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

'Declaración
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 added object.

.NET Framework Security

See Also

Reference

AttachmentCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace