共用方式為


PageCollection.TotalCount 屬性

Gets or sets the total number of pages in a report.

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Property TotalCount As Integer 
    Get 
    Set
'用途
Dim instance As PageCollection 
Dim value As Integer 

value = instance.TotalCount

instance.TotalCount = value
public int TotalCount { get; set; }
public:
property int TotalCount {
    int get ();
    void set (int value);
}
member TotalCount : int with get, set
function get TotalCount () : int 
function set TotalCount (value : int)

屬性值

型別:System.Int32
An integer that indicates the total number of pages in a report.

請參閱

參考

PageCollection 類別

Microsoft.ReportingServices.ReportRendering 命名空間