Share via


Report.DisplayName Property

 

Gets or sets the display name of the report.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

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

Property Value

Type: System.String

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 and printing a report.

See Also

Report Class
Microsoft.Reporting.WinForms Namespace

Return to top