Field Members

Include Protected Members
Include Inherited Members

This sealed class is used to hold field/value pairs for work items.

The Field type exposes the following members.

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

AllowedValues

Gets the collection of allowed values for this Field.

Public property

FieldDefinition

Gets the field definition for this Field.

Public property

HasAllowedValuesList

Public property

HasPatternMatch

Public property

Id

Gets the ID of the Field definition.

Public property

IsComputed

Returns true if the field is computed; otherwise false.

Public property

IsDirty

Returns true if the Field has been edited since the parent work item was retrieved from or saved to the work item store; otherwise false.

Public property

IsEditable

Returns true if this Field is editable according to the field definition and given the current state of the parent work item; otherwise false.

Public property

IsLimitedToAllowedValues

Returns true if this Field's value can be set to an item that is not in the AllowedValues list; otherwise false.

Public property

IsRequired

Returns true if this Field is required to be non-empty; otherwise false.

Public property

IsValid

Returns true if the Field contains a valid value; otherwise false.

Public property

Name

Gets the Field name.

Public property

OriginalValue

Gets the value of the Field before it was edited.

Public property

ReferenceName

Gets the Field reference name.

Public property

Status

Gets the status of the Field.

Public property

Value

Gets the value of the Field.

Public property

WorkItem

Top

See Also

Reference

Field Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace