This documentation is archived and is not being maintained.

AttachmentCollection::Add Method

Adds the specified attachment to this collection.

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

public:
int Add(
	Attachment^ attachment
)

Parameters

attachment
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::Attachment

The attachment to add to this collection.

Return Value

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

Show: