Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataViewSetting Class

Definition

Namespace:
System.Data
Assemblies:
netstandard.dll, System.Data.Common.dll
Assembly:
System.Data.Common.dll
Assembly:
System.Data.dll
Assembly:
netstandard.dll
Source:
DataViewSetting.cs
Source:
DataViewSetting.cs
Source:
DataViewSetting.cs
Source:
DataViewSetting.cs
Source:
DataViewSetting.cs

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.

Represents the default settings for ApplyDefaultSort, DataViewManager, RowFilter, RowStateFilter, Sort, and Table for DataViews created from the DataViewManager.

public ref class DataViewSetting
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class DataViewSetting
public class DataViewSetting
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
[System.Serializable]
public class DataViewSetting
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
type DataViewSetting = class
type DataViewSetting = class
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
[<System.Serializable>]
type DataViewSetting = class
Public Class DataViewSetting
Inheritance
DataViewSetting
Attributes

Properties

Name Description
ApplyDefaultSort

Gets or sets a value indicating whether to use the default sort.

DataViewManager

Gets the DataViewManager that contains this DataViewSetting.

RowFilter

Gets or sets the filter to apply in the DataView. See RowFilter for a code sample using RowFilter.

RowStateFilter

Gets or sets a value indicating whether to display Current, Deleted, Modified Current, ModifiedOriginal, New, Original, Unchanged, or no rows in the DataView.

Sort

Gets or sets a value indicating the sort to apply in the DataView.

Table

Gets the DataTable to which the DataViewSetting properties apply.

Methods

Name Description
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)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Thread Safety

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


Feedback

Was this page helpful?