Report.GetResource(String, Byte[], String) Method

Definition

Retrieves the auxiliary resources used during rendering; e.g., an XSLT used by the XML renderer.

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

Parameters

resourcePath
String

The resource path.

resource
Byte[]

[out] The resource data.

mimeType
String

[out] The MIME type of the resource data.

Returns

true if the resource is successfully retrieved; otherwise, false.

Applies to