次の方法で共有


ServerReport.Render メソッド (String, String, NameValueCollection, Stream, String, String)

 

発行: 2016年4月

オプションの URL アクセス パラメーターでレポートを表示します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

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 Sub Render (
    format As String,
    deviceInfo As String,
    urlAccessParameters As NameValueCollection,
    reportStream As Stream,
    <OutAttribute> ByRef mimeType As String,
    <OutAttribute> ByRef fileNameExtension As String
)

パラメーター

  • format
    レポートを表示する形式。この引数は、表示拡張機能にマップされます。レポート サーバーで使用可能な任意の表示拡張機能を使用できます。

    使用可能な表示拡張機能の一覧にアクセスするには、ListRenderingExtensions メソッドを使用します。

  • deviceInfo
    format パラメーターに指定されている表示拡張機能に必要な、デバイス固有のコンテンツを含んでいる XML 文字列。特定の出力形式のデバイス情報設定の詳細については、SQL Server オンライン ブックの「デバイス情報設定」(fe718939-7efe-4c7f-87cb-5f5b09caeff4) を参照してください。
  • urlAccessParameters
    レポート サーバーに渡す URL アクセス パラメーター。詳細については、SQL Server オンライン ブックの URL アクセスのドキュメントを参照してください。

    このパラメーターは null に設定することができます。

  • reportStream
    表示されたレポートを書き込むストリーム。
  • mimeType
    [out] 表示されるレポートの MIME の種類。
  • fileNameExtension
    [out] 出力ファイルに使用するファイル名拡張子。

参照

Render オーバーロード
ServerReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る