AllowedValuesCollection (Clase)
Representa una lista de valores válidos para Field.
Jerarquía de herencia
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
Microsoft.TeamFoundation.WorkItemTracking.Client.ValuesCollection
Microsoft.TeamFoundation.WorkItemTracking.Client.AllowedValuesCollection
Espacio de nombres: Microsoft.TeamFoundation.WorkItemTracking.Client
Ensamblado: Microsoft.TeamFoundation.WorkItemTracking.Client (en Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Sintaxis
'Declaración
Public NotInheritable Class AllowedValuesCollection _
Inherits ValuesCollection
public sealed class AllowedValuesCollection : ValuesCollection
El tipo AllowedValuesCollection expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
Count | Obtiene el número de objetos de esta colección. (Se hereda de ValuesCollection). | |
IsFixedSize | Obsoleta. (Se hereda de ReadOnlyList). | |
IsReadOnly | Obsoleta. (Se hereda de ReadOnlyList). | |
IsSynchronized | Obsoleta. (Se hereda de ReadOnlyList). | |
Item | Obtiene el valor en el índice especificado de esta colección. (Se hereda de ValuesCollection). | |
SyncRoot | Obsoleta. (Se hereda de ReadOnlyList). |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Contains | Comprueba si el valor especificado existe en esta colección. (Se hereda de ValuesCollection). | |
CopyTo | Obsoleta. (Se hereda de ReadOnlyList). | |
Equals | Determina si el objeto especificado es igual al objeto actual. (Se hereda de Object). | |
GetEnumerator | (Se hereda de ReadOnlyList). | |
GetHashCode | Sirve como la función hash predeterminada. (Se hereda de Object). | |
GetType | Obtiene el objeto Type de la instancia actual. (Se hereda de Object). | |
IndexOf | Obtiene el índice del valor especificado de esta colección. (Se hereda de ValuesCollection). | |
ToString | Devuelve una cadena que representa el objeto actual. (Se hereda de Object). |
Arriba
Implementaciones de interfaz explícita
Nombre | Descripción | |
---|---|---|
IList.Add | (Se hereda de ReadOnlyList). | |
IList.Clear | (Se hereda de ReadOnlyList). | |
IList.Contains | (Se hereda de ValuesCollection). | |
ICollection.CopyTo | (Se hereda de ReadOnlyList). | |
ICollection.Count | (Se hereda de ReadOnlyList). | |
IList.IndexOf | (Se hereda de ValuesCollection). | |
IList.Insert | (Se hereda de ReadOnlyList). | |
IList.IsFixedSize | (Se hereda de ReadOnlyList). | |
IList.IsReadOnly | (Se hereda de ReadOnlyList). | |
ICollection.IsSynchronized | (Se hereda de ReadOnlyList). | |
IList.Item | (Se hereda de ReadOnlyList). | |
IList.Remove | (Se hereda de ReadOnlyList). | |
IList.RemoveAt | (Se hereda de ReadOnlyList). | |
ICollection.SyncRoot | (Se hereda de ReadOnlyList). |
Arriba
Comentarios
El objeto de AllowedValuesCollection se almacena mediante las propiedades de Field.AllowedValues y de FieldDefinition.AllowedValues . La lista de valores válidos para un campo viene determinada por el FieldDefinition.
Seguridad para subprocesos
Todos los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.
Vea también
Referencia
Microsoft.TeamFoundation.WorkItemTracking.Client (Espacio de nombres)