Share via


DisplayFieldList 類別

表示 WorkItem的集合。 從 伺服器將被呼叫的FieldDefinitions ,按下 WorkItemCollectionWorkItems 存取。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.OrderedVariableSizeList
    Microsoft.TeamFoundation.WorkItemTracking.Client.DisplayFieldList

命名空間:  Microsoft.TeamFoundation.WorkItemTracking.Client
組件:  Microsoft.TeamFoundation.WorkItemTracking.Client (在 Microsoft.TeamFoundation.WorkItemTracking.Client.dll 中)

語法

'宣告
Public NotInheritable Class DisplayFieldList _
    Inherits OrderedVariableSizeList
public sealed class DisplayFieldList : OrderedVariableSizeList

DisplayFieldList 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 Count 取得此集合中項目的數目。 (覆寫 OrderedVariableSizeList.Count。)
公用屬性 IsFixedSize 已過時。 (繼承自 OrderedVariableSizeList)。
公用屬性 IsReadOnly 已過時。 (繼承自 OrderedVariableSizeList)。
公用屬性 IsSynchronized 已過時。 (繼承自 OrderedVariableSizeList)。
公用屬性 Item 取得或設定位於集合中所指定索引處的 FieldDefinition 物件。
公用屬性 SyncRoot 已過時。 (繼承自 OrderedVariableSizeList)。

回頁首

方法

  名稱 描述
公用方法 Add(String) 依名稱加入至這個集合中的 FieldDefinition 物件。
公用方法 Add(FieldDefinition) 加入這個集合中 FieldDefinition 物件在下一個可用的索引。
公用方法 Clear 清除這個集合。 (覆寫 OrderedVariableSizeList.Clear()。)
公用方法 Contains 檢查指定的 FieldDefinition 物件是否在這個集合。
公用方法 CopyTo 已過時。 (繼承自 OrderedVariableSizeList)。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetEnumerator (繼承自 OrderedVariableSizeList)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 IndexOf 取得指定 FieldDefinition 的索引。
公用方法 IndexOfFieldId 取得指定之 FieldDefinition的這個集合中的索引。
公用方法 Insert(Int32, FieldDefinition) 將指定的 FieldDefinition 物件插入位於指定索引的這個集合中。
公用方法 Insert(Int32, String) 插入具有指定名稱的這個集合中指定索引處的 FieldDefinition 物件。
公用方法 Remove(String) 從這個集合中移除指定的 FieldDefinition 物件。
公用方法 Remove(FieldDefinition) 從這個集合中移除指定的 FieldDefinition 物件。
公用方法 RemoveAt 移除 FieldDefinition 物件在索引指定集合中的位置。 (覆寫 OrderedVariableSizeList.RemoveAt(Int32)。)
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

明確介面實作

  名稱 描述
明確介面實作私用方法 IList.Add (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 IList.Clear (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 IList.Contains (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 ICollection.CopyTo (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 ICollection.Count (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 IList.IndexOf (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 IList.Insert (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 IList.IsFixedSize (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 IList.IsReadOnly (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 ICollection.IsSynchronized (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 IList.Item (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 IList.Remove (繼承自 OrderedVariableSizeList)。
明確介面實作私用方法 IList.RemoveAt (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 ICollection.SyncRoot (繼承自 OrderedVariableSizeList)。
明確介面實作私用屬性 IVersionTag.VersionTag (繼承自 OrderedVariableSizeList)。

回頁首

備註

DisplayFieldList 在 DisplayFields 屬性中。

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.TeamFoundation.WorkItemTracking.Client 命名空間