DataViewSetting DataViewSetting DataViewSetting DataViewSetting Class


表示从 ApplyDefaultSort 创建的 DataView 的 DataViewManagerRowFilterRowStateFilterSortTableDataViewManager 的默认设置。Represents the default settings for ApplyDefaultSort, DataViewManager, RowFilter, RowStateFilter, Sort, and Table for DataViews created from the DataViewManager.

public ref class DataViewSetting
public class DataViewSetting
type DataViewSetting = class
Public Class DataViewSetting


ApplyDefaultSort ApplyDefaultSort ApplyDefaultSort ApplyDefaultSort

获取或设置一个值,该值指示是否使用默认排序。Gets or sets a value indicating whether to use the default sort.

DataViewManager DataViewManager DataViewManager DataViewManager

获取包含此 DataViewManagerDataViewSettingGets the DataViewManager that contains this DataViewSetting.

RowFilter RowFilter RowFilter RowFilter

获取或设置应用于 DataView 中的筛选器。Gets or sets the filter to apply in the DataView. 有关使用 RowFilter 的代码示例,请参见 RowFilterSee RowFilter for a code sample using RowFilter.

RowStateFilter RowStateFilter RowStateFilter RowStateFilter

获取或设置一个值,该值指示在 DataView 中是显示 Current、Deleted、Modified Current、ModifiedOriginal、New、Original、Unchanged 还是不显示任何行。Gets or sets a value indicating whether to display Current, Deleted, Modified Current, ModifiedOriginal, New, Original, Unchanged, or no rows in the DataView.

Sort Sort Sort Sort

获取或设置一个值,该值指示要应用于 DataView 中的排序。Gets or sets a value indicating the sort to apply in the DataView.

Table Table Table Table

获取要应用 DataTable 属性的 DataViewSettingGets the DataTable to which the DataViewSetting properties apply.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)



对于多线程读取操作, 此类型是安全的。This type is safe for multithreaded read operations. 必须同步任何写入操作。You must synchronize any write operations.