Name
DataViewSettingCollection
Synopsis
This class contains a collection of
DataViewSetting
objects and is used by the
DataViewManager
class. The
DataViewManager
provides one
DataViewSetting
instance for each
DataTable
in a DataSet
. These
DataViewSetting
objects can then be used to set
default values when creating DataView
instances.
You can locate an individual DataViewSetting
object in this collection using its index, table name, or
corresponding DataTable
object.
public class DataViewSettingCollection : ICollection, IEnumerable { // Public Instance Properties public virtual int Count{get; } // implements ICollection public bool IsReadOnly{get; } public bool IsSynchronized{get; } // implements ICollection public object SyncRoot{get; } // implements ICollection public virtual DataViewSetting this[stringtableName
{get; } public virtual DataViewSetting this[intindex
]{set; get; } public virtual DataViewSetting this[DataTabletable
]{set; get; } // Public Instance Methods public void CopyTo(Arrayar
, intindex
); // implements ICollection public IEnumerator GetEnumerator( ); // implements IEnumerable }
Returned By
DataViewManager.DataViewSettings
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.