Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.
.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.