Delen via


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

'Declaration
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

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

See Also

Reference

SortFieldList Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace