Поделиться через


Report.GetResource(String, Byte[], String) Метод

Определение

Извлекает вспомогательные ресурсы, используемые во время отрисовки; Например, XSLT, используемый отрисовщиком XML.

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.

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