Método ServerReport.ListRenderingExtensions
Returns all available rendering extensions for the server report.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)
Sintaxe
'Declaração
Public Overrides Function ListRenderingExtensions As RenderingExtension()
public override RenderingExtension[] ListRenderingExtensions()
public:
virtual array<RenderingExtension^>^ ListRenderingExtensions() override
abstract ListRenderingExtensions : unit -> RenderingExtension[]
override ListRenderingExtensions : unit -> RenderingExtension[]
public override function ListRenderingExtensions() : RenderingExtension[]
Valor de retorno
Tipo: array<Microsoft.Reporting.WinForms.RenderingExtension[]
An array of RenderingExtension objects.
Comentários
This method can be used to populate drop-down lists to allow users to select a rendering extension for export.
Exemplos
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