DataView Methods

The DataView type exposes the following members.

  NameDescription
Public method AddNew Adds a new row to the DataView.
Public method BeginInit Starts the initialization of a DataView that is used on a form or used by another component. The initialization occurs at runtime.
Protected method Close Closes the DataView.
Protected method ColumnCollectionChanged Occurs after a DataColumnCollection has been changed successfully.
Public method CopyTo Copies items into an array. Only for Web Forms Interfaces.
Public method Delete Deletes a row at the specified index.
Public method Dispose() Releases all resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent.)
Protected method Dispose(Boolean) Disposes of the resources (other than memory) used by the DataView object. (Overrides MarshalByValueComponent.Dispose(Boolean).)
Public method EndInit Ends the initialization of a DataView that is used on a form or used by another component. The initialization occurs at runtime.
Public method Equals(DataView) Determines whether the specified DataView instances are considered equal.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from MarshalByValueComponent.)
Public method Find(Object) Finds a row in the DataView by the specified sort key value.
Public method Find(Object[]) Finds a row in the DataView by the specified sort key values.
Public method FindRows(Object) Returns an array of DataRowView objects whose columns match the specified sort key value.
Public method FindRows(Object[]) Returns an array of DataRowView objects whose columns match the specified sort key value.
Public method GetEnumerator Gets an enumerator for this DataView.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method IndexListChanged Occurs after a DataView has been changed successfully.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnListChanged Raises the ListChanged event.
Protected method Open Opens a DataView.
Protected method Reset Reserved for internal use only.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.)
Public method ToTable() Creates and returns a new DataTable based on rows in an existing DataView.
Public method ToTable(String) Creates and returns a new DataTable based on rows in an existing DataView.
Public method ToTable(Boolean, String[]) Creates and returns a new DataTable based on rows in an existing DataView.
Public method ToTable(String, Boolean, String[]) Creates and returns a new DataTable based on rows in an existing DataView.
Protected method UpdateIndex() Reserved for internal use only.
Protected method UpdateIndex(Boolean) Reserved for internal use only.
Top

  NameDescription
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetation Private method IBindingList.AddIndex For a description of this member, see IBindingList.AddIndex.
Explicit interface implemetation Private method IBindingList.AddNew For a description of this member, see IBindingList.AddNew.
Explicit interface implemetation Private method IBindingList.ApplySort For a description of this member, see IBindingList.ApplySort.
Explicit interface implemetation Private method IBindingList.Find For a description of this member, see IBindingList.Find.
Explicit interface implemetation Private method IBindingList.RemoveIndex For a description of this member, see IBindingList.RemoveIndex.
Explicit interface implemetation Private method IBindingList.RemoveSort For a description of this member, see IBindingList.RemoveSort.
Explicit interface implemetation Private method IBindingListView.ApplySort For a description of this member, see IBindingListView.ApplySort.
Explicit interface implemetation Private method IBindingListView.RemoveFilter For a description of this member, see IBindingListView.RemoveFilter.
Explicit interface implemetation Private method IList.Add For a description of this member, see IList.Add.
Explicit interface implemetation Private method IList.Clear For a description of this member, see IList.Clear.
Explicit interface implemetation Private method IList.Contains For a description of this member, see IList.Contains.
Explicit interface implemetation Private method IList.IndexOf For a description of this member, see IList.IndexOf.
Explicit interface implemetation Private method IList.Insert For a description of this member, see IList.Insert.
Explicit interface implemetation Private method IList.Remove For a description of this member, see IList.Remove.
Explicit interface implemetation Private method IList.RemoveAt For a description of this member, see IList.RemoveAt.
Explicit interface implemetation Private method ITypedList.GetItemProperties For a description of this member, see ITypedList.GetItemProperties.
Explicit interface implemetation Private method ITypedList.GetListName For a description of this member, see ITypedList.GetListName.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft