This documentation is archived and is not being maintained.

LinksCollection::ContainsItem Method

Checks whether this collection contains the specified artifact ID.

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

public:
bool ContainsItem(
	String^ id
)

Parameters

id
Type: System::String

The artifact ID to search for.

Return Value

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

Show: