DataViewManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, IList, ITypedList
Public Class DataViewManager
Inherits MarshalByValueComponent
Implements IBindingList, ITypedList
- Inheritance
- Implements
Constructors
DataViewManager() |
Initializes a new instance of the DataViewManager class. |
DataViewManager(DataSet) |
Initializes a new instance of the DataViewManager class for the specified DataSet. |
Properties
Container |
Gets the container for the component. (Inherited from MarshalByValueComponent) |
DataSet |
Gets or sets the DataSet to use with the DataViewManager. |
DataViewSettingCollectionString |
Gets or sets a value that is used for code persistence. |
DataViewSettings |
Gets the DataViewSettingCollection for each DataTable in the DataSet. |
DesignMode |
Gets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent) |
Events |
Gets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent) |
Site |
Gets or sets the site of the component. (Inherited from MarshalByValueComponent) |
Methods
CreateDataView(DataTable) | |
Dispose() |
Releases all resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent) |
Dispose(Boolean) |
Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. (Inherited from MarshalByValueComponent) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetService(Type) |
Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
OnListChanged(ListChangedEventArgs) |
Raises the ListChanged event. |
RelationCollectionChanged(Object, CollectionChangeEventArgs) |
Raises a CollectionChanged event when a DataRelation is added to or removed from the DataRelationCollection. |
TableCollectionChanged(Object, CollectionChangeEventArgs) |
Raises a CollectionChanged event when a DataTable is added to or removed from the DataTableCollection. |
ToString() |
Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent) |
Events
Disposed |
Adds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent) |
ListChanged |
Occurs after a row is added to or deleted from a DataView. |
Explicit Interface Implementations
IBindingList.AddIndex(PropertyDescriptor) |
Adds the PropertyDescriptor to the indexes used for searching. |
IBindingList.AddNew() |
For a description of this member, see AddNew(). |
IBindingList.AllowEdit |
For a description of this member, see AllowEdit. |
IBindingList.AllowNew |
For a description of this member, see AllowNew. |
IBindingList.AllowRemove |
For a description of this member, see AllowRemove. |
IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) |
Sorts the list based on a PropertyDescriptor and a ListSortDirection. |
IBindingList.Find(PropertyDescriptor, Object) |
Returns the index of the row that has the given PropertyDescriptor. |
IBindingList.IsSorted |
For a description of this member, see IsSorted. |
IBindingList.RemoveIndex(PropertyDescriptor) |
Removes the PropertyDescriptor from the indexes used for searching. |
IBindingList.RemoveSort() |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection). |
IBindingList.SortDirection |
For a description of this member, see SortDirection. |
IBindingList.SortProperty |
For a description of this member, see SortProperty. |
IBindingList.SupportsChangeNotification |
For a description of this member, see SupportsChangeNotification. |
IBindingList.SupportsSearching |
For a description of this member, see SupportsSearching. |
IBindingList.SupportsSorting |
For a description of this member, see SupportsSorting. |
ICollection.CopyTo(Array, Int32) |
Copies the elements of the ICollection to an Array, starting at a particular Array index. |
ICollection.Count |
For a description of this member, see Count. |
ICollection.IsSynchronized |
For a description of this member, see IsSynchronized. |
ICollection.SyncRoot |
For a description of this member, see SyncRoot. |
IEnumerable.GetEnumerator() |
For a description of this member, see GetEnumerator(). |
IList.Add(Object) |
Adds an item to the IList. |
IList.Clear() |
For a description of this member, see Clear(). |
IList.Contains(Object) |
Determines whether the IList contains a specific value. |
IList.IndexOf(Object) |
Determines the index of a specific item in the IList. |
IList.Insert(Int32, Object) |
Inserts an item to the IList at the specified index. |
IList.IsFixedSize |
For a description of this member, see IsFixedSize. |
IList.IsReadOnly |
For a description of this member, see IsReadOnly. |
IList.Item[Int32] |
Gets or sets the element at the specified index. |
IList.Remove(Object) |
Removes the first occurrence of a specific object from the IList. |
IList.RemoveAt(Int32) |
Removes the IList item at the specified index. |
ITypedList.GetItemProperties(PropertyDescriptor[]) |
Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data. |
ITypedList.GetListName(PropertyDescriptor[]) |
Returns the name of the list. |
Extension Methods
Applies to
Thread Safety
This type is safe for multithreaded read operations. You must synchronize any write operations.