DataViewSettingCollection Class

 

Contains a read-only collection of DataViewSetting objects for each DataTable in a DataSet.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

System.Object
  System.Data.DataViewSettingCollection

public class DataViewSettingCollection : ICollection, IEnumerable

NameDescription
System_CAPS_pubpropertyCount

Gets the number of DataViewSetting objects in the DataViewSettingCollection.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the DataViewSettingCollection is read-only.

System_CAPS_pubpropertyIsSynchronized

Gets a value that indicates whether access to the DataViewSettingCollection is synchronized (thread-safe).

System_CAPS_pubpropertyItem[DataTable]

Gets the DataViewSetting objects of the specified DataTable from the collection.

System_CAPS_pubpropertyItem[Int32]

Gets the DataViewSetting objects of the DataTable specified by its index.

System_CAPS_pubpropertyItem[String]

Gets the DataViewSetting of the DataTable specified by its name.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the DataViewSettingCollection.

NameDescription
System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

System_CAPS_pubmethodCopyTo(DataViewSetting[], Int32)

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Gets an IEnumerator for the collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

A user cannot add or remove a DataViewSetting from the collection, but can change the properties of the DataViewSetting corresponding to a particular DataTable. Adding or removing a DataTable from the DataSet adds or removes the corresponding DataViewSetting from the collection.

.NET Framework
Available since 1.1

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

Return to top
Show: