Método ServerReport.Render (String, String, NameValueCollection, Stream, String%, String%)
Renders the report with optional URL access parameters.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
Public Sub Render ( _
format As String, _
deviceInfo As String, _
urlAccessParameters As NameValueCollection, _
reportStream As Stream, _
<OutAttribute> ByRef mimeType As String, _
<OutAttribute> ByRef fileNameExtension As String _
)
public void Render(
string format,
string deviceInfo,
NameValueCollection urlAccessParameters,
Stream reportStream,
out string mimeType,
out string fileNameExtension
)
public:
void Render(
String^ format,
String^ deviceInfo,
NameValueCollection^ urlAccessParameters,
Stream^ reportStream,
[OutAttribute] String^% mimeType,
[OutAttribute] String^% fileNameExtension
)
member Render :
format:string *
deviceInfo:string *
urlAccessParameters:NameValueCollection *
reportStream:Stream *
mimeType:string byref *
fileNameExtension:string byref -> unit
public function Render(
format : String,
deviceInfo : String,
urlAccessParameters : NameValueCollection,
reportStream : Stream,
mimeType : String,
fileNameExtension : String
)
Parâmetros
- format
Tipo: String
The format in which to render the report. This argument maps to a rendering extension. You can use any rendering extension available on the report server.
To access the list of available rendering extensions, use the ListRenderingExtensions method.
- deviceInfo
Tipo: 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.
- urlAccessParameters
Tipo: NameValueCollection
URL access parameters to pass to the report server. For more information, see the URL Access documentation in SQL Server Books Online.
This parameter may be set to null.
- reportStream
Tipo: Stream
The stream into which the rendered report will be written.
- mimeType
Tipo: String%
[out] The MIME type of the rendered report.
- fileNameExtension
Tipo: String%
[out] The file name extension used for the output file.