語言

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

適用於