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
'宣告
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
- 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.