Sprache

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

Definition

Gibt die angeforderte Ressource und ihren MIME-Typ zurück.

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

Parameter

resourcePath
String

Der Weg der zu holenden Ressource.

resource
Byte[]

[aus] Ein Byte-Array, das die Ressource enthält.

mimeType
String

A, das String den MIME-Typ der Ressource angibt.

Gibt zurück

Ein Wert, der angibt, Boolean ob die Ressource erfolgreich abgerufen wurde.

Gilt für: