语言

Report.GetResource(String, Byte[], String) 方法

定义

提取渲染过程中使用的辅助资源;例如,XML 渲染器使用的 XSLT 代码。

public:
 bool GetResource(System::String ^ resourcePath, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % resource, [Runtime::InteropServices::Out] System::String ^ % mimeType);
public bool GetResource(string resourcePath, out byte[] resource, out string mimeType);
member this.GetResource : string * Byte[] * string -> bool
Public Function GetResource (resourcePath As String, ByRef resource As Byte(), ByRef mimeType As String) As Boolean

参数

resourcePath
String

资源路径。

resource
Byte[]

[出]资源数据。

mimeType
String

[出]资源数据的MIME类型。

返回

true如果资源被成功检索;否则,。 false

适用于