次の方法で共有


Report.GetResource(String, Byte[], String) メソッド

定義

要求されたリソースとその MIME の種類を返します。

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

リソースの MIME の種類を表す String です。

戻り値

リソースの取得が成功したかどうかを示す Boolean 値です。

適用対象