FieldCollection (Clase)
Representa una colección de Fields en un objeto de WorkItem .
Jerarquía de herencia
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
Microsoft.TeamFoundation.WorkItemTracking.Client.FieldCollection
Espacio de nombres: Microsoft.TeamFoundation.WorkItemTracking.Client
Ensamblado: Microsoft.TeamFoundation.WorkItemTracking.Client (en Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Sintaxis
'Declaración
Public NotInheritable Class FieldCollection _
Inherits ReadOnlyList
public sealed class FieldCollection : ReadOnlyList
El tipo FieldCollection expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
Count | Obtiene el número de objetos Field de esta colección. (Invalida a ReadOnlyList.Count). | |
IsFixedSize | Obsoleta. (Se hereda de ReadOnlyList). | |
IsReadOnly | Obsoleta. (Se hereda de ReadOnlyList). | |
IsSynchronized | Obsoleta. (Se hereda de ReadOnlyList). | |
Item[Int32] | Obtiene Field en esta colección en el índice especificado. | |
Item[String] | Obtiene Field en esta colección que tiene el nombre especificado o nombre de referencia. | |
Item[CoreField] | Obtiene Field en esta colección que es el miembro especificado de CoreField . | |
SyncRoot | Obsoleta. (Se hereda de ReadOnlyList). |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Contains(Int32) | Comprueba si esta colección contiene Field especificado por su identificador | |
Contains(String) | Comprueba si esta colección contiene Field especificado por su nombre o nombre de referencia. | |
Contains(Field) | Comprueba si esta colección contiene Fieldespecificado. | |
CopyTo | Obsoleta. (Se hereda de ReadOnlyList). | |
Equals | Determina si el objeto especificado es igual al objeto actual. (Se hereda de Object). | |
GetById | Obtiene Field en esta colección que tiene el identificador especificado | |
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 objeto Field especificado. | |
ToString | Devuelve una cadena que representa el objeto actual. (Se hereda de Object). | |
TryGetById | Obtiene Field en esta colección que tiene el identificador especificado |
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 ReadOnlyList). | |
ICollection.CopyTo | (Se hereda de ReadOnlyList). | |
ICollection.Count | (Se hereda de ReadOnlyList). | |
IList.IndexOf | (Se hereda de ReadOnlyList). | |
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
Un objeto de FieldCollection devuelve la propiedad de WorkItem.Fields .
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)