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