Share via


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)

Syntax

'Declaration
Public Function ContainsItem ( _
    id As String _
) As Boolean
public bool ContainsItem(
    string id
)
public:
bool ContainsItem(
    String^ id
)
member ContainsItem : 
        id:string -> bool
public function ContainsItem(
    id : String
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

LinksCollection Class

Microsoft.TeamFoundation.Client Namespace