DataViewManager DataViewManager DataViewManager DataViewManager Class

Definition

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 class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.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
Inheritance
Implements

Constructors

DataViewManager() DataViewManager() DataViewManager() DataViewManager()

Initializes a new instance of the DataViewManager class.

DataViewManager(DataSet) DataViewManager(DataSet) DataViewManager(DataSet) DataViewManager(DataSet)

Initializes a new instance of the DataViewManager class for the specified DataSet.

Properties

Container Container Container Container

Gets the container for the component.

(Inherited from MarshalByValueComponent)
DataSet DataSet DataSet DataSet

Gets or sets the DataSet to use with the DataViewManager.

DataViewSettingCollectionString DataViewSettingCollectionString DataViewSettingCollectionString DataViewSettingCollectionString

Gets or sets a value that is used for code persistence.

DataViewSettings DataViewSettings DataViewSettings DataViewSettings

Gets the DataViewSettingCollection for each DataTable in the DataSet.

DesignMode DesignMode DesignMode DesignMode

Gets a value indicating whether the component is currently in design mode.

(Inherited from MarshalByValueComponent)
Events Events Events Events

Gets the list of event handlers that are attached to this component.

(Inherited from MarshalByValueComponent)
Site Site Site Site

Gets or sets the site of the component.

(Inherited from MarshalByValueComponent)

Methods

CreateDataView(DataTable) CreateDataView(DataTable) CreateDataView(DataTable) CreateDataView(DataTable)

Creates a DataView for the specified DataTable.

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the MarshalByValueComponent.

(Inherited from MarshalByValueComponent)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.

(Inherited from MarshalByValueComponent)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Gets the implementer of the IServiceProvider.

(Inherited from MarshalByValueComponent)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnListChanged(ListChangedEventArgs) OnListChanged(ListChangedEventArgs) OnListChanged(ListChangedEventArgs) OnListChanged(ListChangedEventArgs)

Raises the ListChanged event.

RelationCollectionChanged(Object, CollectionChangeEventArgs) RelationCollectionChanged(Object, CollectionChangeEventArgs) RelationCollectionChanged(Object, CollectionChangeEventArgs) RelationCollectionChanged(Object, CollectionChangeEventArgs)

Raises a CollectionChanged event when a DataRelation is added to or removed from the DataRelationCollection.

TableCollectionChanged(Object, CollectionChangeEventArgs) TableCollectionChanged(Object, CollectionChangeEventArgs) TableCollectionChanged(Object, CollectionChangeEventArgs) TableCollectionChanged(Object, CollectionChangeEventArgs)

Raises a CollectionChanged event when a DataTable is added to or removed from the DataTableCollection.

ToString() ToString() ToString() ToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.

(Inherited from MarshalByValueComponent)

Events

Disposed Disposed Disposed Disposed

Adds an event handler to listen to the Disposed event on the component.

(Inherited from MarshalByValueComponent)
ListChanged ListChanged ListChanged ListChanged

Occurs after a row is added to or deleted from a DataView.

Explicit Interface Implementations

IBindingList.AddIndex(PropertyDescriptor) IBindingList.AddIndex(PropertyDescriptor) IBindingList.AddIndex(PropertyDescriptor) IBindingList.AddIndex(PropertyDescriptor)

Adds the PropertyDescriptor to the indexes used for searching.

IBindingList.AddNew() IBindingList.AddNew() IBindingList.AddNew() IBindingList.AddNew()

For a description of this member, see AddNew().

IBindingList.AllowEdit IBindingList.AllowEdit IBindingList.AllowEdit IBindingList.AllowEdit

For a description of this member, see AllowEdit.

IBindingList.AllowNew IBindingList.AllowNew IBindingList.AllowNew IBindingList.AllowNew

For a description of this member, see AllowNew.

IBindingList.AllowRemove IBindingList.AllowRemove IBindingList.AllowRemove IBindingList.AllowRemove

For a description of this member, see AllowRemove.

IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) IBindingList.ApplySort(PropertyDescriptor, ListSortDirection)

Sorts the list based on a PropertyDescriptor and a ListSortDirection.

IBindingList.Find(PropertyDescriptor, Object) IBindingList.Find(PropertyDescriptor, Object) IBindingList.Find(PropertyDescriptor, Object) IBindingList.Find(PropertyDescriptor, Object)

Returns the index of the row that has the given PropertyDescriptor.

IBindingList.IsSorted IBindingList.IsSorted IBindingList.IsSorted IBindingList.IsSorted

For a description of this member, see IsSorted.

IBindingList.RemoveIndex(PropertyDescriptor) IBindingList.RemoveIndex(PropertyDescriptor) IBindingList.RemoveIndex(PropertyDescriptor) IBindingList.RemoveIndex(PropertyDescriptor)

Removes the PropertyDescriptor from the indexes used for searching.

IBindingList.RemoveSort() IBindingList.RemoveSort() IBindingList.RemoveSort() IBindingList.RemoveSort()

Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).

IBindingList.SortDirection IBindingList.SortDirection IBindingList.SortDirection IBindingList.SortDirection

For a description of this member, see SortDirection.

IBindingList.SortProperty IBindingList.SortProperty IBindingList.SortProperty IBindingList.SortProperty

For a description of this member, see SortProperty.

IBindingList.SupportsChangeNotification IBindingList.SupportsChangeNotification IBindingList.SupportsChangeNotification IBindingList.SupportsChangeNotification

For a description of this member, see SupportsChangeNotification.

IBindingList.SupportsSearching IBindingList.SupportsSearching IBindingList.SupportsSearching IBindingList.SupportsSearching

For a description of this member, see SupportsSearching.

IBindingList.SupportsSorting IBindingList.SupportsSorting IBindingList.SupportsSorting IBindingList.SupportsSorting

For a description of this member, see SupportsSorting.

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

ICollection.Count ICollection.Count ICollection.Count ICollection.Count

For a description of this member, see Count.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

For a description of this member, see IsSynchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

For a description of this member, see SyncRoot.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

For a description of this member, see GetEnumerator().

IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)

Adds an item to the IList.

IList.Clear() IList.Clear() IList.Clear() IList.Clear()

For a description of this member, see Clear().

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

Determines whether the IList contains a specific value.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

Determines the index of a specific item in the IList.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

Inserts an item to the IList at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

For a description of this member, see IsFixedSize.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

For a description of this member, see IsReadOnly.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

Removes the first occurrence of a specific object from the IList.

IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32)

Removes the IList item at the specified index.

ITypedList.GetItemProperties(PropertyDescriptor[]) ITypedList.GetItemProperties(PropertyDescriptor[]) ITypedList.GetItemProperties(PropertyDescriptor[]) ITypedList.GetItemProperties(PropertyDescriptor[])

Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data.

ITypedList.GetListName(PropertyDescriptor[]) ITypedList.GetListName(PropertyDescriptor[]) ITypedList.GetListName(PropertyDescriptor[]) ITypedList.GetListName(PropertyDescriptor[])

Returns the name of the list.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

Thread Safety

This type is safe for multithreaded read operations. You must synchronize any write operations.

See Also