Compartilhar via


Field.HasAllowedValuesList Property

Gets a flag that indicates whether a list of allowed values is available for this field.

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

Syntax

'Declaração
Public ReadOnly Property HasAllowedValuesList As Boolean
    Get
public bool HasAllowedValuesList { get; }
public:
property bool HasAllowedValuesList {
    bool get ();
}
member HasAllowedValuesList : bool
function get HasAllowedValuesList () : boolean

Property Value

Type: System.Boolean
True if a list of allowed values exists; otherwise, false.

Remarks

You can use this method as a performance alternative for user interfaces that determine how to paint controls that are based on the result of this flag.

.NET Framework Security

See Also

Reference

Field Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace