Lenguaje

Report.GetResource(String, Byte[], String) Método

Definición

Devuelve el recurso solicitado y su tipo 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

Parámetros

resourcePath
String

El camino del recurso a recuperar.

resource
Byte[]

[fuera] Un array de bytes que contiene el recurso.

mimeType
String

A String indica el tipo MIME del recurso.

Devoluciones

Un valor que Boolean indica si el recurso fue recuperado con éxito.

Se aplica a