Report 類別

 

發行︰ 2016年4月

包含同時適用於本機和伺服器報表的方法與屬性。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

繼承階層

System.Object
  Microsoft.Reporting.WinForms.Report
    Microsoft.Reporting.WinForms.LocalReport
    Microsoft.Reporting.WinForms.ServerReport

語法

public abstract class Report
public ref class Report abstract 
[<AbstractClass>]
type Report = class end
Public MustInherit Class Report

屬性

名稱 描述
System_CAPS_pubproperty DisplayName

取得或設定報表的顯示名稱。

System_CAPS_pubproperty IsDrillthroughReport

指出報表是否為鑽研報表。

System_CAPS_pubproperty IsReadyForRendering

取得 Boolean 值,這個值表示報表定義和所有必要參數是否已指定,而且所有資料來源是否已準備好可供使用。

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_protmethod Finalize()

(繼承自 Object。)

System_CAPS_pubmethod GetDefaultPageSettings()

取得報表所指定的預設頁面設定。

System_CAPS_pubmethod GetDocumentMap()

傳回本機報表之文件引導模式的表示法。

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetParameters()

傳回報表的報表參數屬性。

System_CAPS_pubmethod GetTotalPages()

傳回報表中的軟分頁總數。

System_CAPS_pubmethod GetTotalPages(PageCountMode)

傳回報表中的軟分頁總數以及表示目前頁面計數模式的 PageCountMode 值。

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod ListRenderingExtensions()

傳回本機報表所有可用的轉譯延伸模組。

System_CAPS_pubmethod LoadReportDefinition(Stream)

使用 Stream 載入要進行處理的報表定義。

System_CAPS_pubmethod LoadReportDefinition(TextReader)

使用 TextReader 載入要進行處理的報表定義。

System_CAPS_protmethod MemberwiseClone()

(繼承自 Object。)

System_CAPS_pubmethod Refresh()

使報表利用新資料來進行轉譯。

System_CAPS_pubmethod Render(String)

處理報表並依照指定的格式轉譯它。

System_CAPS_pubmethod Render(String, String)

處理報表並依照指定的格式轉譯它。

System_CAPS_pubmethod Render(String, String, PageCountMode, String, String, String, String[], Warning[])

使用指定的 PageCountMode 值來處理報表,並依照指定的格式轉譯該報表。

System_CAPS_pubmethod Render(String, String, String, String, String, String[], Warning[])

處理報表並依照指定的格式轉譯它。

System_CAPS_pubmethod SetParameters(IEnumerable<ReportParameter>)

設定報表的報表參數屬性。

System_CAPS_pubmethod SetParameters(ReportParameter)

設定報表的報表參數屬性。

System_CAPS_pubmethod ToString()

(繼承自 Object。)

註解

這個類別是做為 LocalReportServerReport 物件的基底類別。如需實作特定的資訊,請參閱 LocalReportServerReport

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首