FieldDefinitionCollection.Contains Method (String)
Checks whether a field definition that has the specified name exists in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Function Contains ( _
name As String _
) As Boolean
public bool Contains(
string name
)
public:
bool Contains(
String^ name
)
member Contains :
name:string -> bool
public function Contains(
name : String
) : boolean
Parameters
- name
Type: System.String
The name of the field definition of interest.
Return Value
Type: System.Boolean
True if the field definition exists in the 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.