Represents the attributes of a Field.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinition
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Class FieldDefinition
public class FieldDefinition
public ref class FieldDefinition
type FieldDefinition =  class end
public class FieldDefinition
The FieldDefinition type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | AllowedValues | Gets the collection of valid values for a Field that uses this field definition. | 
| .gif) | CanSortBy | Gets the flag that describes whether WorkItems can be sorted by Fields that use this field definition. | 
| .gif) | FieldType | Gets the data type that is stored by a Field that uses this field definition. | 
| .gif) | HelpText | Gets the text that describes this field definition. | 
| .gif) | Id | Gets the ID of this field definition. | 
| .gif) | IsComputed | Gets a flag that describes whether the value of the Field that uses this field definition is computed. | 
| .gif) | IsEditable | Gets a flag that describes whether a Field that uses this field definition is editable. | 
| .gif) | IsIndexed | Gets a flag that describes whether a Field that uses this field definition is indexed on the server. | 
| .gif) | IsQueryable | Gets a flag that describes whether work items can be queried by a Field that uses this field definition. | 
| .gif) | Name | Gets the friendly display name of this field definition. | 
| .gif) | ReferenceName | Gets the reference name of this field definition. | 
| .gif) | ReportingAttributes | Gets the reporting attributes of this field definition. | 
| .gif) | SystemType | Gets the underlying Type of this field definition. | 
| .gif) | Usage | Gets the intended usage of this field definition. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | FilteredAllowedValues | Gets the collection of allowed values for a Field that uses this field definition, which is filtered by the specified list of filters. | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Remarks
The FieldDefinition object defines the data that a WorkItem Field contains.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.