Udostępnij za pośrednictwem


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

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

value = instance.DisplayName

instance.DisplayName = value
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute("Misc")] 
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute("")] 
public string DisplayName { get; set; }
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute(L"Misc")] 
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(L"")] 
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.WinForms Namespace