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

Значение типа String, указывающее тип MIME ресурса.

Возвращаемое значение

Значение типа Boolean, указывающее, извлечен ли ресурс.

Применяется к