Report.DisplayName 屬性

 

發佈時間: 2016年4月

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

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

語法

public string DisplayName { get; set; }
public:
property String^ DisplayName {
    String^ get();
    void set(String^ value);
}
member DisplayName : string with get, set
Public Property DisplayName As String

屬性值

Type: System.String

包含報表顯示名稱的 String

備註

DisplayName 屬性的值會出現在文件引導模式的根。

當匯出及列印報表時,會利用 DisplayName 來做為預設檔案名稱。

請參閱

Report 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首