ReportingService2005.GetRenderResource(String, String, String) 方法

定义

返回指定的呈现扩展插件格式的资源。

public:
 cli::array <System::Byte> ^ GetRenderResource(System::String ^ Format, System::String ^ DeviceInfo, [Runtime::InteropServices::Out] System::String ^ % MimeType);
public byte[] GetRenderResource (string Format, string DeviceInfo, out string MimeType);
member this.GetRenderResource : string * string * string -> byte[]
Public Function GetRenderResource (Format As String, DeviceInfo As String, ByRef MimeType As String) As Byte()

参数

Format
String

要检索其资源(HTML4.0、XML、IMAGE 等)的呈现扩展插件的格式。 有关可用扩展插件的列表,请使用 ListExtensions(ExtensionTypeEnum) 方法。

DeviceInfo
String

呈现扩展插件使用的特定于设备的设置。

MimeType
String

[out] 资源的 MIME 类型。

返回

Byte[]

以 Base 64 编码格式的字节数组表示的呈现扩展插件资源。 有关这种数据类型的详细信息,请参阅 Microsoft .NET Framework 文档中的“字节结构”。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (Out) ServerInfoHeaderValue
所需的权限

方法返回 GetRenderResource 的呈现资源的一个示例是加号 (+) 图像,用于展开 HTML 呈现扩展插件中的组。 方法返回的资源取决于 DeviceInfo 提供的参数。 有关呈现扩展插件的设备信息设置的详细信息,请参阅 将设备信息设置传递给呈现扩展插件

适用于