DetailsView.PageCount 属性

定义

获取数据源中的记录数。Gets the number of records in the data source.

public:
 virtual property int PageCount { int get(); };
[System.ComponentModel.Browsable(false)]
public virtual int PageCount { get; }
member this.PageCount : int
Public Overridable ReadOnly Property PageCount As Integer

属性值

数据源中的记录数。The number of records in the data source.

属性

注解

如果属性为null ,0则返回。 DataSourceIf the DataSource property is null, 0 is returned.

适用于