NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataView Methods

The methods of the DataView class are listed below. For a complete list of DataView class members, see the DataView Members topic.

Public:

AddNew Adds a new row of data.
Delete Deletes a row.
Dispose [To be supplied.]
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
Find Overloaded. Finds a row in the DataView.
GetContainer (inherited from Component) Returns the IContainer that contains the Component.
GetDesignMode (inherited from Component) Gets a value indicating whether the Component is currently in design mode.
GetEnumerator Gets an enumerator for this DataView.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetServiceObject (inherited from Component) Returns an object representing a service provided by the Component.
GetType (inherited from Object) Gets the Type of the Object.
Index_ListChanged [To be supplied.]
ResetSort Resets the Sort property to its default state.
ShouldPersistSort Indicates whether the Sort property should be persisted.
ToString (inherited from Component) Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only.

Protected:

Close Closes the DataView.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GetFilter Gets the filter for the DataView.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnListChanged Raises the System.Data.DataView.ListChanged event.
OnPropertyChanged Raises the System.Data.DataView.PropertyChanged event.
Open Opens a DataView.
RaisePropertyChanged Raises the OnPropertyChanged event.
Reset [To be supplied.]
SetIndex [To be supplied.]
UpdateIndex Overloaded. [To be supplied.]

Event Hookup:

AddOnListChanged Adds an event handler for the System.Data.DataView.ListChanged event.
AddOnPropertyChanged Adds an event handler for the System.Data.DataView.PropertyChanged event.
RemoveOnListChanged Removes the event handler that has been associated with the OnListChanged event.
RemoveOnPropertyChanged Removes an event handler that has been associated with the OnPropertyChanged event.

See Also

DataView Class | System.Data Namespace