Report.DisplayName Property

Gets or sets the display name of the report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<DefaultValueAttribute("")> _
<NotifyParentPropertyAttribute(True)> _
<CategoryAttribute("Misc")> _
Public Property DisplayName As String
'Usage
Dim instance As Report
Dim value As String

value = instance.DisplayName

instance.DisplayName = value
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute("")] 
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute("Misc")] 
public string DisplayName { get; set; }
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(L"")] 
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute(L"Misc")] 
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DisplayName ()

/** @property */
public void set_DisplayName (String value)
public function get DisplayName () : String

public function set DisplayName (value : String)

Property Value

A string containing the report's display name.

Remarks

The value of the DisplayName property will appear at the root of the document map.

The DisplayName will be used as the default file name when exporting a report.

See Also

Reference

Report Class
Report Members
Microsoft.Reporting.WebForms Namespace