WorkItemTypeCollection.Contains Method (String)
Checks whether a WorkItemType that has the specified name occurs in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function Contains ( _
typeName As String _
) As Boolean
public bool Contains(
string typeName
)
public:
bool Contains(
String^ typeName
)
member Contains :
typeName:string -> bool
public function Contains(
typeName : String
) : boolean
Parameters
typeName
Type: System.StringThe name of the WorkItemType.
Return Value
Type: System.Boolean
True if a WorkItemType that has the specified name occurs 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.