FieldCollection.Contains Method (String)
Checks whether this collection contains the Field that is specified by its name or reference name.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Function Contains ( _
fieldName As String _
) As Boolean
public bool Contains(
string fieldName
)
public:
bool Contains(
String^ fieldName
)
member Contains :
fieldName:string -> bool
public function Contains(
fieldName : String
) : boolean
Parameters
- fieldName
Type: System.String
The name or reference name of the Field to check for.
Return Value
Type: System.Boolean
True if this collection contains the specified Field; 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.