Télécharger Imprimer la page

En Cas D'erreur, Déclenche Une Exception Ou Retourne - Yoctopuce Yocto-Temperature-IR Mode D'emploi

Publicité

24. Référence de l'API de haut niveau
module→download()
Télécharge le fichier choisi du module et retourne son contenu.
function download( pathname)
js
string download( string pathname)
cpp
-(NSMutableData*) download : (NSString*)
m
TByteArray download( pathname: string): TByteArray
pas
function download( ByVal
vb
byte[] download( string pathname)
cs
byte[] download( String pathname)
java
async Task<byte[]> download( string pathname)
uwp
download( pathname)
py
function download( $pathname)
php
async download( pathname: string): Promise<Uint8Array>
ts
async download( pathname)
es
byte[] download( string pathname)
dnp
string download( string pathname)
cp
YModule
target
cmd
Paramètres :
pathname
nom complet du fichier
Retourne :
le contenu du fichier chargé
En cas d'erreur, déclenche une exception ou retourne
242
pathname
As String) As Byte
download
pathname
pathname
YAPI_INVALID_STRING
YModule
.
www.yoctopuce.com

Publicité

loading