Report.GetResource(String, Byte[], String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
要求されたリソースとその 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
値です。