This documentation is archived and is not being maintained.

AttachmentCollection::Contains Method

Checks whether the specified attachment is located in this collection.

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

public:
bool Contains(
	Attachment^ attachment
)

Parameters

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

The attachment of interest.

Return Value

Type: System::Boolean
True if the specified attachment is located in this collection; otherwise, false.

Show: