FieldDefinitionCollection 类
描述 FieldDefinition 对象的集合。
继承层次结构
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionCollection
命名空间: Microsoft.TeamFoundation.WorkItemTracking.Client
程序集: Microsoft.TeamFoundation.WorkItemTracking.Client(在 Microsoft.TeamFoundation.WorkItemTracking.Client.dll 中)
语法
声明
Public NotInheritable Class FieldDefinitionCollection _
Inherits ReadOnlyList
public sealed class FieldDefinitionCollection : ReadOnlyList
FieldDefinitionCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | 获取的 FieldDefinition 对象数存在此集合中。 (重写 ReadOnlyList.Count。) | |
IsFixedSize | 已废弃不用。 (继承自 ReadOnlyList。) | |
IsReadOnly | 已废弃不用。 (继承自 ReadOnlyList。) | |
IsSynchronized | 已废弃不用。 (继承自 ReadOnlyList。) | |
Item[Int32] | 获取字段定义位于指定索引处。 | |
Item[String] | 获取具有指定名称的字段定义。 | |
Item[CoreField] | 获取字段定义指定的 CoreField ID. | |
SyncRoot | 已废弃不用。 (继承自 ReadOnlyList。) |
页首
方法
名称 | 说明 | |
---|---|---|
Contains(Int32) | 选定具有指定的 ID 的字段定义是否存在此集合中。 | |
Contains(String) | 选定具有指定名称的字段定义是否存在此集合中。 | |
Contains(FieldDefinition) | 选定此集合是否包含指定的 FieldDefinition 对象。 | |
CopyTo | 已废弃不用。 (继承自 ReadOnlyList。) | |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
GetById | 获取具有指定的 ID. 的 FieldDefinition 对象 | |
GetEnumerator | (继承自 ReadOnlyList。) | |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
IndexOf | 获取指定的 FieldDefinition 对象的索引此集合中。 | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) | |
TryGetById | 获取具有指定的 ID. 的 FieldDefinition 对象 | |
TryGetByName | 获取具有指定名称的 FieldDefinition 对象。 |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
IList.Add | (继承自 ReadOnlyList。) | |
IList.Clear | (继承自 ReadOnlyList。) | |
IList.Contains | (继承自 ReadOnlyList。) | |
ICollection.CopyTo | (继承自 ReadOnlyList。) | |
ICollection.Count | (继承自 ReadOnlyList。) | |
IList.IndexOf | (继承自 ReadOnlyList。) | |
IList.Insert | (继承自 ReadOnlyList。) | |
IList.IsFixedSize | (继承自 ReadOnlyList。) | |
IList.IsReadOnly | (继承自 ReadOnlyList。) | |
ICollection.IsSynchronized | (继承自 ReadOnlyList。) | |
IList.Item | (继承自 ReadOnlyList。) | |
IList.Remove | (继承自 ReadOnlyList。) | |
IList.RemoveAt | (继承自 ReadOnlyList。) | |
ICollection.SyncRoot | (继承自 ReadOnlyList。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。