Proprietà Report.DisplayName

Recupera o imposta il nome visualizzato del report.

Spazio dei nomi: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Sintassi

'Dichiarazione
<CategoryAttribute("Misc")> _
<NotifyParentPropertyAttribute(True)> _
<SRDescriptionAttribute("DisplayNameDesc")> _
<DefaultValueAttribute("")> _
<WebBrowsableAttribute(True)> _
Public Property DisplayName As String
'Utilizzo
Dim instance As Report
Dim value As String

value = instance.DisplayName

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

Valore proprietà

Valore String contenente il nome visualizzato del report.

Note

Il valore della proprietà DisplayName verrà visualizzato nell'elemento principale della mappa documento.

La proprietà DisplayName verrà utilizzata come nome di file predefinito per l'esportazione di un report.

Vedere anche

Riferimento

Classe Report
Membri Report
Spazio dei nomi Microsoft.Reporting.WinForms