Método ServerReport.Render (String, String, NameValueCollection, 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 Function Render ( _
format As String, _
deviceInfo As String, _
urlAccessParameters As NameValueCollection, _
<OutAttribute> ByRef mimeType As String, _
<OutAttribute> ByRef fileNameExtension As String _
) As Stream
public Stream Render(
string format,
string deviceInfo,
NameValueCollection urlAccessParameters,
out string mimeType,
out string fileNameExtension
)
public:
Stream^ Render(
String^ format,
String^ deviceInfo,
NameValueCollection^ urlAccessParameters,
[OutAttribute] String^% mimeType,
[OutAttribute] String^% fileNameExtension
)
member Render :
format:string *
deviceInfo:string *
urlAccessParameters:NameValueCollection *
mimeType:string byref *
fileNameExtension:string byref -> Stream
public function Render(
format : String,
deviceInfo : String,
urlAccessParameters : NameValueCollection,
mimeType : String,
fileNameExtension : String
) : Stream
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.
- mimeType
Tipo: String%
[out] The MIME type of the rendered report.
- fileNameExtension
Tipo: String%
[out] The file name extension used for the output file.
Valor de retorno
Tipo: Stream
A Stream that contains the rendered report.