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
'Declaração
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
- fieldName
Type: System.String
The name of the SortField to remove from this list.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The fieldName parameter is null. |
FieldDefinitionNotExistException | The fieldname parameter does not resolve to an existing FieldDefinition. |
.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.