SortFieldList.Contains Method
Checks whether the specified SortField occurs in this list.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaração
Public Function Contains ( _
value As SortField _
) As Boolean
public bool Contains(
SortField value
)
public:
bool Contains(
SortField^ value
)
member Contains :
value:SortField -> bool
public function Contains(
value : SortField
) : boolean
Parameters
- value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.SortField
The SortField to search for.
Return Value
Type: System.Boolean
True if the specified SortField occurs in this list; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value parameter is null. |
.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.