Report.GetResource(String, Byte[], String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提取渲染过程中使用的辅助资源;例如,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