Edit

Share via


WorkItemTypeFieldInstance Class

Definition

Field instance of a work item type.

[System.Runtime.Serialization.DataContract]
public class WorkItemTypeFieldInstance : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldInstanceBase
type WorkItemTypeFieldInstance = class
    inherit WorkItemTypeFieldInstanceBase
Public Class WorkItemTypeFieldInstance
Inherits WorkItemTypeFieldInstanceBase
Inheritance
Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
WorkItemTypeFieldInstance
Attributes

Constructors

WorkItemTypeFieldInstance()
WorkItemTypeFieldInstance(ISecuredObject)

Properties

AllowedValues

The list of field allowed values.

AlwaysRequired

Indicates whether field value is always required.

(Inherited from WorkItemTypeFieldInstanceBase)
DefaultValue

Represents the default value of the field.

DependentFields

The list of dependent fields.

(Inherited from WorkItemTypeFieldInstanceBase)
Field

The field.

(Inherited from WorkItemTypeFieldInstanceBase)
HelpText

Gets the help text for the field.

(Inherited from WorkItemTypeFieldInstanceBase)
IsIdentity

flag which tells if current field is identity.

(Inherited from WorkItemTypeFieldInstanceBase)
Name

The name of the field.

(Inherited from WorkItemFieldReference)
ReferenceName

The reference name of the field.

(Inherited from WorkItemFieldReference)
Url

The REST URL of the resource.

(Inherited from WorkItemFieldReference)

Methods

Equals(Object)

This function is called when JSON serializer tries to check circular reference for an object of this class. JSON serializer checks every member and their members if any of them is equal to this object and throws error. Without this function we were getting self loop error as serializer was using base class equal method and some member of this class were getting matched with base class object.

(Inherited from WorkItemTypeFieldInstanceBase)
GetHashCode() (Inherited from WorkItemTypeFieldInstanceBase)

Applies to