共用方式為


FieldFilterList.IndexOfFieldId Method

Gets the index of the field filter, in this list, that is specified by field ID.

This API is not CLS-compliant. 

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

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Function IndexOfFieldId ( _
    id As Integer _
) As Integer
[CLSCompliantAttribute(false)]
public int IndexOfFieldId(
    int id
)
[CLSCompliantAttribute(false)]
public:
int IndexOfFieldId(
    int id
)
[<CLSCompliantAttribute(false)>]
member IndexOfFieldId : 
        id:int -> int 
public function IndexOfFieldId(
    id : int
) : int

Parameters

  • id
    Type: System.Int32
    The ID of the field of which the index is desired.

Return Value

Type: System.Int32
The index of the field filter, in this list, that is specified by field ID.

.NET Framework Security

See Also

Reference

FieldFilterList Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace