Partilhar via


Método ServerReport.RenderStream

Returns a secondary stream associated with a processed report.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Function RenderStream ( _
    format As String, _
    streamId As String, _
    deviceInfo As String, _
    <OutAttribute> ByRef mimeType As String, _
    <OutAttribute> ByRef encoding As String _
) As Byte()
public byte[] RenderStream(
    string format,
    string streamId,
    string deviceInfo,
    out string mimeType,
    out string encoding
)
public:
array<unsigned char>^ RenderStream(
    String^ format, 
    String^ streamId, 
    String^ deviceInfo, 
    [OutAttribute] String^% mimeType, 
    [OutAttribute] String^% encoding
)
member RenderStream : 
        format:string * 
        streamId:string * 
        deviceInfo:string * 
        mimeType:string byref * 
        encoding:string byref -> byte[] 
public function RenderStream(
    format : String, 
    streamId : String, 
    deviceInfo : String, 
    mimeType : String, 
    encoding : String
) : byte[]

Parâmetros

  • format
    Tipo: String
    The format in which to render the stream. 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.
  • streamId
    Tipo: String
    The stream identifier.
  • 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.
  • mimeType
    Tipo: String%
    The MIME type of the stream.
  • encoding
    Tipo: String%
    The Microsoft .NET Framework encoding class name.

Valor de retorno

Tipo: array<Byte[]
A Byte array of the stream in the specified format. For more information about this data type, see "Byte Structure" in the .NET Framework documentation.

Comentários

Examples of streams include images and charts.

Consulte também

Referência

ServerReport Classe

Namespace Microsoft.Reporting.WebForms