Report.GetResource(String, Byte[], String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne la ressource demandée et son type 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
Paramètres
- resourcePath
- String
Chemin d'accès de la ressource à récupérer.
- resource
- Byte[]
[out] Tableau d'octets qui contient la ressource.
- mimeType
- String
String
indiquant le type MIME de la ressource.
Retours
Valeur de type Boolean
indiquant si la ressource a été récupérée.