次の方法で共有


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[]

[out] リソース データです。

mimeType
String

[out] リソース データの MIME タイプです。

戻り値

リソースが正常に取得された場合は true、そうでない場合は false です。

適用対象