Sdílet prostřednictvím


ServerReport.ListRenderingExtensions-Methode

Returns all available rendering extensions for the server report.

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

Syntax

'Declaration
'Usage

Rückgabewert

An array of RenderingExtension objects.

Hinweise

This method can be used to populate drop-down lists to allow users to select a rendering extension for export.

Beispiel

Private Sub Button2_Click(ByVal sender As System.Object, _
     ByVal e As System.EventArgs) Handles Button2.Click
   Dim extensions As RenderingExtension() = _
   ReportViewer1.ServerReport.ListRenderingExtensions()

   For Each extension As RenderingExtension In extensions
   Debug.WriteLine("Extension: " + extension.Name + _
     " Visible? " + extension.Visible.ToString)
   Next

End Sub

Siehe auch

Verweis

ServerReport-Klasse
ServerReport-Member
Microsoft.Reporting.WebForms-Namespace