次の方法で共有


Report.DisplayName プロパティ

レポートの表示名を取得または設定します。

名前空間:  Microsoft.Reporting.WebForms
アセンブリ:  Microsoft.ReportViewer.WebForms (Microsoft.ReportViewer.WebForms.dll)

構文

'宣言
<WebBrowsableAttribute(True)> _
Public Property DisplayName As String
    Get
    Set
'使用
Dim instance As Report
Dim value As String

value = instance.DisplayName

instance.DisplayName = value
[WebBrowsableAttribute(true)]
public string DisplayName { get; set; }
[WebBrowsableAttribute(true)]
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
[<WebBrowsableAttribute(true)>]
member DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)

プロパティ値

型: System.String
レポートの表示名を示す文字列。

説明

DisplayName プロパティの値は、見出しマップのルートに表示されます。

DisplayName は、レポートのエクスポート時および印刷時に既定のファイル名として使用されます。

関連項目

参照

Report クラス

Microsoft.Reporting.WebForms 名前空間