ServerReport.Render メソッド (String, String, PageCountMode, String, String, String, String[], Warning[])
発行: 2016年4月
指定したレポートを処理 PageCountMode 値を使用して、指定された形式で表示します。
名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)
構文
public override byte[] Render(
string format,
string deviceInfo,
PageCountMode pageCountMode,
out string mimeType,
out string encoding,
out string fileNameExtension,
out string[] streams,
out Warning[] warnings
)
public:
virtual array<unsigned char>^ Render(
String^ format,
String^ deviceInfo,
PageCountMode pageCountMode,
[OutAttribute] String^% mimeType,
[OutAttribute] String^% encoding,
[OutAttribute] String^% fileNameExtension,
[OutAttribute] array<String^>^% streams,
[OutAttribute] array<Warning^>^% warnings
) override
override Render :
format:string *
deviceInfo:string *
pageCountMode:PageCountMode *
mimeType:string byref *
encoding:string byref *
fileNameExtension:string byref *
streams:string[] byref *
warnings:Warning[] byref -> byte[]
Public Overrides Function Render (
format As String,
deviceInfo As String,
pageCountMode As PageCountMode,
<OutAttribute> ByRef mimeType As String,
<OutAttribute> ByRef encoding As String,
<OutAttribute> ByRef fileNameExtension As String,
<OutAttribute> ByRef streams As String(),
<OutAttribute> ByRef warnings As Warning()
) As Byte()
パラメーター
format
Type: System.Stringレポートを表示する形式。 この引数は、表示拡張機能にマップされます。 レポート サーバーで利用可能な任意のフォーマット拡張を使用できます。
使用可能な表示拡張機能の一覧にアクセスするには、使用、 ListRenderingExtensions メソッドです。
deviceInfo
Type: System.StringFormat パラメーターに指定されている表示拡張機能で必要とされるデバイス固有のコンテンツを含む XML 文字列です。 特定の出力形式のデバイス情報設定の詳細については、SQL Server オンライン ブックの fe718939-7efe-4c7f-87cb-5f5b09caeff4 デバイス情報設定を参照してください。
pageCountMode
Type: Microsoft.Reporting.WinForms.PageCountModeA PageCountMode ページ カウント モードを指定する列挙値。
mimeType
Type: System.String[out]表示レポートの MIME タイプ。
encoding
Type: System.String[out]レポートの内容を表示するときに使用するエンコーディングします。
fileNameExtension
Type: System.String[out]出力ファイルに使用されるファイル名拡張子。
streams
Type: System.String[][out]ストリーム識別子。 それらを使用するには、レポートに関連付けられている外部リソース (画像など) を表示します。
warnings
Type: Microsoft.Reporting.WinForms.Warning[][out]配列 Warning レポートの処理中に発生した警告について記述するオブジェクト。
戻り値
Type: System.Byte[]
A Byte 指定の形式でレポートの配列。
解説
このメソッドは、エクスポートし、レポートを出力に使用できます。
このメソッドの値は正常に完了した後 pageCountMode 既定のページ カウント モードの決定、 ServerReport を呼び出したときにオブジェクトを使用して、 M:Microsoft.Reporting.WinForms.ServerReport.GetTotalPages メソッドです。 詳細については、「GetTotalPages」を参照してください。
参照
Render オーバーロード
ServerReport クラス
Microsoft.Reporting.WinForms 名前空間
トップに戻る