Partager via


SortFieldList.Remove Method (String)

Removes the SortField that has the specified field name from this list.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Sub Remove ( _
    fieldName As String _
)
public void Remove(
    string fieldName
)
public:
void Remove(
    String^ fieldName
)
member Remove : 
        fieldName:string -> unit
public function Remove(
    fieldName : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The fieldName parameter is null.

FieldDefinitionNotExistException

The fieldname parameter does not resolve to an existing FieldDefinition.

.NET Framework Security

See Also

Reference

SortFieldList Class

Remove Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace