SyncList<TListType> 類別

 

發行︰ 2016年4月

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。

表示 TListType 型別的清單,並與物件同步處理。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

繼承階層

System.Object
  System.Collections.ObjectModel.Collection<T>
    Microsoft.Reporting.WinForms.SyncList<TListType>
      Microsoft.Reporting.WinForms.ReportDataSourceCollection
      Microsoft.Reporting.WinForms.ReportViewerCookieCollection
      Microsoft.Reporting.WinForms.ReportViewerHeaderCollection

語法

[SerializableAttribute]
public class SyncList<TListType> : Collection<TListType>
generic<typename TListType>
[SerializableAttribute]
public ref class SyncList : Collection<TListType>
[<SerializableAttribute>]
type SyncList<'TListType> = 
    class
        inherit Collection<'TListType>
    end
<SerializableAttribute>
Public Class SyncList(Of TListType)
    Inherits Collection(Of TListType)

類型參數

  • TListType
    清單中項目的型別。

屬性

名稱 描述
System_CAPS_pubproperty Count

(繼承自 Collection<T>。)

System_CAPS_pubproperty Item[Int32]

(繼承自 Collection<T>。)

System_CAPS_protproperty Items

(繼承自 Collection<T>。)

方法

名稱 描述
System_CAPS_pubmethod Add(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Clear()

(繼承自 Collection<T>。)

System_CAPS_protmethod ClearItems()

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 從清單中移除所有項目。(覆寫 Collection<T>.ClearItems()。)

System_CAPS_pubmethod Contains(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod CopyTo(T[], Int32)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_protmethod Finalize()

(繼承自 Object。)

System_CAPS_pubmethod GetEnumerator()

(繼承自 Collection<T>。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod IndexOf(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Insert(Int32, T)

(繼承自 Collection<T>。)

System_CAPS_protmethod InsertItem(Int32, TListType)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 將項目插入至清單中指定的索引處。(覆寫 Collection<T>.InsertItem(Int32, T)。)

System_CAPS_protmethod MemberwiseClone()

(繼承自 Object。)

System_CAPS_pubmethod Remove(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod RemoveAt(Int32)

(繼承自 Collection<T>。)

System_CAPS_protmethod RemoveItem(Int32)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 移除指定索引中的項目。(覆寫 Collection<T>.RemoveItem(Int32)。)

System_CAPS_protmethod SetItem(Int32, TListType)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 取代指定之索引處的項目。(覆寫 Collection<T>.SetItem(Int32, T)。)

System_CAPS_pubmethod ToString()

(繼承自 Object。)

明確介面實作

名稱 描述
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(繼承自 Collection<T>。)

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首