Metoda ReportViewer.ExportDialog — (RenderingExtension, String)
Opens in the export dialog box for a specific rendering extension.
Przestrzeń nazw: Microsoft.Reporting.WinForms
Zestaw: Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)
Składnia
'Deklaracja
Public Function ExportDialog ( _
extension As RenderingExtension, _
deviceInfo As String _
) As DialogResult
public DialogResult ExportDialog(
RenderingExtension extension,
string deviceInfo
)
public:
DialogResult ExportDialog(
RenderingExtension^ extension,
String^ deviceInfo
)
member ExportDialog :
extension:RenderingExtension *
deviceInfo:string -> DialogResult
public function ExportDialog(
extension : RenderingExtension,
deviceInfo : String
) : DialogResult
Parametry
- extension
Typ: Microsoft.Reporting.WinForms.RenderingExtension
The rendering extension to use for the export.
Typically, youTo access the list of available rendering extensions, use using the ListRenderingExtensions method in ServerReport or LocalReport, depending on the processing mode (see ProcessingMode).
- deviceInfo
Typ: String
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see fe718939-7efe-4c7f-87cb-5f5b09caeff4 Device Information Settings in SQL Server Books Online.
Wartość zwracana
Typ: DialogResult
Cancel if the user clicked the Cancel button; Abort if the export operation failed; otherwise, OK.
Uwagi
Invoking this method is similar to a user selecting an export format from the Export drop-down list on the toolbar.