DataViewManager Класс
Определение
Содержит значение по умолчанию DataViewSettingCollection для каждого DataTable в DataSet.Contains a default DataViewSettingCollection for each DataTable in a DataSet.
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 ICollection
interface IEnumerable
interface IList
interface IBindingList
interface ITypedList
type DataViewManager = class
inherit MarshalByValueComponent
interface IBindingList
interface IList
interface ICollection
interface IEnumerable
interface ITypedList
type DataViewManager = class
inherit MarshalByValueComponent
interface IBindingList
interface ITypedList
interface IList
interface ICollection
interface IEnumerable
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, IList, ITypedList
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, ITypedList
- Наследование
- Реализации
Конструкторы
DataViewManager() |
Инициализирует новый экземпляр класса DataViewManager.Initializes a new instance of the DataViewManager class. |
DataViewManager(DataSet) |
Инициализирует новый экземпляр класса DataViewManager для указанного объекта DataSet.Initializes a new instance of the DataViewManager class for the specified DataSet. |
Свойства
Container |
Возвращает контейнер для компонента.Gets the container for the component. (Унаследовано от MarshalByValueComponent) |
DataSet |
Возвращает или задает объект DataSet для использования с коллекцией DataViewManager.Gets or sets the DataSet to use with the DataViewManager. |
DataViewSettingCollectionString |
Возвращает или задает значение, используемое для сохраняемости кода.Gets or sets a value that is used for code persistence. |
DataViewSettings |
Получает коллекцию DataViewSettingCollection для каждого объекта DataTable в DataSet.Gets the DataViewSettingCollection for each DataTable in the DataSet. |
DesignMode |
Возвращает значение, показывающее, находится ли компонент в настоящий момент в режиме разработки.Gets a value indicating whether the component is currently in design mode. (Унаследовано от MarshalByValueComponent) |
Events |
Возвращает список обработчиков событий, которые прикреплены к этому компоненту.Gets the list of event handlers that are attached to this component. (Унаследовано от MarshalByValueComponent) |
Site |
Возвращает или задает сайт компонента.Gets or sets the site of the component. (Унаследовано от MarshalByValueComponent) |
Методы
CreateDataView(DataTable) |
Создает объект DataView для указанного объекта DataTable.Creates a DataView for the specified DataTable. |
Dispose() |
Освобождает все ресурсы, занятые модулем MarshalByValueComponent.Releases all resources used by the MarshalByValueComponent. (Унаследовано от MarshalByValueComponent) |
Dispose(Boolean) |
Освобождает неуправляемые ресурсы, используемые объектом MarshalByValueComponent, а при необходимости освобождает также управляемые ресурсы.Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. (Унаследовано от MarshalByValueComponent) |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetHashCode() |
Служит хэш-функцией по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetService(Type) |
Возвращает средство реализации объекта IServiceProvider.Gets the implementer of the IServiceProvider. (Унаследовано от MarshalByValueComponent) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
OnListChanged(ListChangedEventArgs) |
Вызывает событие ListChanged.Raises the ListChanged event. |
RelationCollectionChanged(Object, CollectionChangeEventArgs) |
Вызывает событие CollectionChanged при добавлении или удалении объекта DataRelation из коллекции DataRelationCollection.Raises a CollectionChanged event when a DataRelation is added to or removed from the DataRelationCollection. |
TableCollectionChanged(Object, CollectionChangeEventArgs) |
Вызывает событие CollectionChanged при добавлении или удалении объекта DataTable из коллекции DataTableCollection.Raises a CollectionChanged event when a DataTable is added to or removed from the DataTableCollection. |
ToString() |
Возвращает объект String, содержащий имя Component, если оно есть.Returns a String containing the name of the Component, if any. Этот метод не следует переопределять.This method should not be overridden. (Унаследовано от MarshalByValueComponent) |
События
Disposed |
Добавляет обработчик события для ожидания события Disposed в компоненте.Adds an event handler to listen to the Disposed event on the component. (Унаследовано от MarshalByValueComponent) |
ListChanged |
Происходит после добавления или удаления строки из объекта DataView.Occurs after a row is added to or deleted from a DataView. |
Явные реализации интерфейса
IBindingList.AddIndex(PropertyDescriptor) |
Добавляет дескриптор PropertyDescriptor к индексам, используемым для поиска.Adds the PropertyDescriptor to the indexes used for searching. |
IBindingList.AddNew() |
Описание этого члена см. в разделе AddNew().For a description of this member, see AddNew(). |
IBindingList.AllowEdit |
Описание этого члена см. в разделе AllowEdit.For a description of this member, see AllowEdit. |
IBindingList.AllowNew |
Описание этого члена см. в разделе AllowNew.For a description of this member, see AllowNew. |
IBindingList.AllowRemove |
Описание этого члена см. в разделе AllowRemove.For a description of this member, see AllowRemove. |
IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) |
Сортирует список, используя дескриптор PropertyDescriptor и направление ListSortDirection.Sorts the list based on a PropertyDescriptor and a ListSortDirection. |
IBindingList.Find(PropertyDescriptor, Object) |
Возвращает индекс строки с данным дескриптором PropertyDescriptor.Returns the index of the row that has the given PropertyDescriptor. |
IBindingList.IsSorted |
Описание этого члена см. в разделе IsSorted.For a description of this member, see IsSorted. |
IBindingList.RemoveIndex(PropertyDescriptor) |
Удаляет дескриптор PropertyDescriptor из индексов, используемых для поиска.Removes the PropertyDescriptor from the indexes used for searching. |
IBindingList.RemoveSort() |
Удаляет любую сортировку, выполненную с использованием метода ApplySort(PropertyDescriptor, ListSortDirection).Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection). |
IBindingList.SortDirection |
Описание этого члена см. в разделе SortDirection.For a description of this member, see SortDirection. |
IBindingList.SortProperty |
Описание этого члена см. в разделе SortProperty.For a description of this member, see SortProperty. |
IBindingList.SupportsChangeNotification |
Описание этого члена см. в разделе SupportsChangeNotification.For a description of this member, see SupportsChangeNotification. |
IBindingList.SupportsSearching |
Описание этого члена см. в разделе SupportsSearching.For a description of this member, see SupportsSearching. |
IBindingList.SupportsSorting |
Описание этого члена см. в разделе SupportsSorting.For a description of this member, see SupportsSorting. |
ICollection.CopyTo(Array, Int32) |
Копирует элементы коллекции ICollection в массив Array, начиная с указанного индекса массива Array.Copies the elements of the ICollection to an Array, starting at a particular Array index. |
ICollection.Count |
Описание этого члена см. в разделе Count.For a description of this member, see Count. |
ICollection.IsSynchronized |
Описание этого члена см. в разделе IsSynchronized.For a description of this member, see IsSynchronized. |
ICollection.SyncRoot |
Описание этого члена см. в разделе SyncRoot.For a description of this member, see SyncRoot. |
IEnumerable.GetEnumerator() |
Описание этого члена см. в разделе GetEnumerator().For a description of this member, see GetEnumerator(). |
IList.Add(Object) |
Добавляет элемент в коллекцию IList.Adds an item to the IList. |
IList.Clear() |
Описание этого члена см. в разделе Clear().For a description of this member, see Clear(). |
IList.Contains(Object) |
Определяет, содержит ли коллекция IList указанное значение.Determines whether the IList contains a specific value. |
IList.IndexOf(Object) |
Определяет индекс заданного элемента в списке IList.Determines the index of a specific item in the IList. |
IList.Insert(Int32, Object) |
Вставляет элемент в список IList по указанному индексу.Inserts an item to the IList at the specified index. |
IList.IsFixedSize |
Описание этого члена см. в разделе IsFixedSize.For a description of this member, see IsFixedSize. |
IList.IsReadOnly |
Описание этого члена см. в разделе IsReadOnly.For a description of this member, see IsReadOnly. |
IList.Item[Int32] |
Возвращает или задает элемент по указанному индексу.Gets or sets the element at the specified index. |
IList.Remove(Object) |
Удаляет первое вхождение указанного объекта из коллекции IList.Removes the first occurrence of a specific object from the IList. |
IList.RemoveAt(Int32) |
Удаляет элемент IList по указанному индексу.Removes the IList item at the specified index. |
ITypedList.GetItemProperties(PropertyDescriptor[]) |
Возвращает PropertyDescriptorCollection, представляющий свойства каждого элемента, используемого для привязки данных.Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data. |
ITypedList.GetListName(PropertyDescriptor[]) |
Возвращает имя списка.Returns the name of the list. |
Методы расширения
Cast<TResult>(IEnumerable) |
Приводит элементы объекта IEnumerable к заданному типу.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Выполняет фильтрацию элементов объекта IEnumerable по заданному типу.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Позволяет осуществлять параллельный запрос.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Преобразовывает коллекцию IEnumerable в объект IQueryable.Converts an IEnumerable to an IQueryable. |
Применяется к
Потокобезопасность
Этот тип является надежным для многопоточных операций чтения.This type is safe for multithreaded read operations. Необходимо синхронизировать любые операции записи.You must synchronize any write operations.