DataViewManager 類別

定義

包含每個 DataViewSettingCollection 的預設值DataTableDataSet

public ref class DataViewManager : System::ComponentModel::MarshalByValueComponent, System::Collections::IList, System::ComponentModel::IBindingList, System::ComponentModel::ITypedList
public ref class DataViewManager : System::ComponentModel::MarshalByValueComponent, System::ComponentModel::IBindingList, System::ComponentModel::ITypedList
public class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList
public class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList
type DataViewManager = class
    inherit MarshalByValueComponent
    interface IBindingList
    interface IList
    interface ICollection
    interface IEnumerable
    interface ITypedList
type DataViewManager = class
    inherit MarshalByValueComponent
    interface ICollection
    interface IEnumerable
    interface IList
    interface IBindingList
    interface ITypedList
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, IList, ITypedList
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, ITypedList
繼承
實作

建構函式

名稱 Description
DataViewManager()

初始化 DataViewManager 類別的新執行個體。

DataViewManager(DataSet)

初始化指定類別DataViewManager的新實例DataSet

屬性

名稱 Description
Container

取得元件的容器。

(繼承來源 MarshalByValueComponent)
DataSet

取得或設定 DataSet 使用 DataViewManager

DataViewSettingCollectionString

取得或設定一個用於程式碼持久化的值。

DataViewSettings

在 中取得 DataViewSettingCollectionDataTableDataSet

DesignMode

會取得一個值,表示該元件目前是否處於設計模式。

(繼承來源 MarshalByValueComponent)
Events

取得與此元件相連的事件處理程序清單。

(繼承來源 MarshalByValueComponent)
Site

取得或設定元件的站點。

(繼承來源 MarshalByValueComponent)

方法

名稱 Description
CreateDataView(DataTable)

為指定的 DataView創造 。DataTable

Dispose()

釋放所有由 MarshalByValueComponent.

(繼承來源 MarshalByValueComponent)
Dispose(Boolean)

釋放 未管理的資源, MarshalByValueComponent 並可選擇性地釋放受管理資源。

(繼承來源 MarshalByValueComponent)
Equals(Object)

判斷指定的 物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetService(Type)

取得 的實作者 IServiceProvider

(繼承來源 MarshalByValueComponent)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
OnListChanged(ListChangedEventArgs)

引發 ListChanged 事件。

RelationCollectionChanged(Object, CollectionChangeEventArgs)

當 a DataRelation 被加入或移除時DataRelationCollection,會引發事件。CollectionChanged

TableCollectionChanged(Object, CollectionChangeEventArgs)

當 a DataTable 被加入或移除時DataTableCollection,會引發事件。CollectionChanged

ToString()

回傳 String 包含 的名稱 Component(若有的話)。 此方法不應被覆蓋。

(繼承來源 MarshalByValueComponent)

事件

名稱 Description
Disposed

新增一個事件處理器來監聽元件上的事件。Disposed

(繼承來源 MarshalByValueComponent)
ListChanged

發生在新增或刪除一列後 DataView

明確介面實作

名稱 Description
IBindingList.AddIndex(PropertyDescriptor)

將 加入 PropertyDescriptor 用於搜尋的索引中。

IBindingList.AddNew()

關於此成員的描述,請參見 AddNew()

IBindingList.AllowEdit

關於此成員的描述,請參見 AllowEdit

IBindingList.AllowNew

關於此成員的描述,請參見 AllowNew

IBindingList.AllowRemove

關於此成員的描述,請參見 AllowRemove

IBindingList.ApplySort(PropertyDescriptor, ListSortDirection)

根據 a PropertyDescriptor 和 a ListSortDirection來排序清單。

IBindingList.Find(PropertyDescriptor, Object)

回傳給定 PropertyDescriptor的列索引。

IBindingList.IsSorted

關於此成員的描述,請參見 IsSorted

IBindingList.RemoveIndex(PropertyDescriptor)

將 從用於搜尋的索引中移除。PropertyDescriptor

IBindingList.RemoveSort()

移除任何使用 ApplySort(PropertyDescriptor, ListSortDirection)

IBindingList.SortDirection

關於此成員的描述,請參見 SortDirection

IBindingList.SortProperty

關於此成員的描述,請參見 SortProperty

IBindingList.SupportsChangeNotification

關於此成員的描述,請參見 SupportsChangeNotification

IBindingList.SupportsSearching

關於此成員的描述,請參見 SupportsSearching

IBindingList.SupportsSorting

關於此成員的描述,請參見 SupportsSorting

ICollection.CopyTo(Array, Int32)

從特定 ICollection 索引開始,將 Array 的專案複製到 Array

ICollection.Count

關於此成員的描述,請參見 Count

ICollection.IsSynchronized

關於此成員的描述,請參見 IsSynchronized

ICollection.SyncRoot

關於此成員的描述,請參見 SyncRoot

IEnumerable.GetEnumerator()

關於此成員的描述,請參見 GetEnumerator()

IList.Add(Object)

將一個項目加入 IList

IList.Clear()

關於此成員的描述,請參見 Clear()

IList.Contains(Object)

判斷是否 IList 包含特定值。

IList.IndexOf(Object)

決定特定項目的 IList索引。

IList.Insert(Int32, Object)

在指定的索引處插入一個項目 IList

IList.IsFixedSize

關於此成員的描述,請參見 IsFixedSize

IList.IsReadOnly

關於此成員的描述,請參見 IsReadOnly

IList.Item[Int32]

取得或設定位於指定索引處的專案。

IList.Remove(Object)

移除特定物件 IList首次出現的 。

IList.RemoveAt(Int32)

移除 IList 指定索引的項目。

ITypedList.GetItemProperties(PropertyDescriptor[])

回傳 PropertyDescriptorCollection 代表每個用於綁定資料的項目屬性。

ITypedList.GetListName(PropertyDescriptor[])

回傳清單名稱。

擴充方法

名稱 Description
AsParallel(IEnumerable)

啟用查詢的平行處理。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別篩選 IEnumerable 的專案。

適用於

執行緒安全性

此類型適合多執行緒讀取操作。 您必須同步處理任何寫入作業。

另請參閱