次の方法で共有


ReportingService2005.GetRenderResource メソッド

指定された表示拡張機能のフォーマットのリソースを返します。

名前空間:  ReportService2005
アセンブリ:  ReportService2005 (ReportService2005.dll)

構文

'宣言
Public Function GetRenderResource ( _
    Format As String, _
    DeviceInfo As String, _
    <OutAttribute> ByRef MimeType As String _
) As Byte()
'使用
Dim instance As ReportingService2005 
Dim Format As String 
Dim DeviceInfo As String 
Dim MimeType As String 
Dim returnValue As Byte()

returnValue = instance.GetRenderResource(Format, _
    DeviceInfo, MimeType)
public byte[] GetRenderResource(
    string Format,
    string DeviceInfo,
    out string MimeType
)
public:
array<unsigned char>^ GetRenderResource(
    String^ Format, 
    String^ DeviceInfo, 
    [OutAttribute] String^% MimeType
)
member GetRenderResource : 
        Format:string * 
        DeviceInfo:string * 
        MimeType:string byref -> byte[] 
public function GetRenderResource(
    Format : String, 
    DeviceInfo : String, 
    MimeType : String
) : byte[]

パラメーター

  • Format
    型: System.String
    リソースを取得する表示拡張機能のフォーマット (HTML4.0、XML、IMAGE など) です。 使用可能な表示拡張機能の一覧を取得するには、ListExtensions メソッドを使用します。
  • DeviceInfo
    型: System.String
    表示拡張機能で使用されるデバイス固有の設定です。
  • MimeType
    型: System.String%
    [out] リソースの MIME の種類です。

戻り値

型: array<System.Byte[]
Base64 エンコードされたバイト配列で表した表示拡張機能のリソースです。このデータ型の詳細については、Microsoft .NET Framework のドキュメントの「Byte 構造体」を参照してください。

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダー

(Out) ServerInfoHeaderValue

必要な権限

なし

GetRenderResource メソッドによって返される表示リソースの例として、HTML 表示拡張機能でグループを展開するために使用されるプラス (+) のイメージがあります。 メソッドが返すリソースは、指定する DeviceInfo パラメーターによって異なります。 表示拡張機能のためのデバイス情報設定の詳細については、「表示拡張機能にデバイス情報設定を渡す」を参照してください。

関連項目

参照

ReportingService2005 クラス

ReportService2005 名前空間