Yoctopuce Yocto-Serial Mode D'emploi page 478

Table des Matières

Publicité

24. Référence de l'API de haut niveau
files→download()
Télécharge le fichier choisi du filesystème 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)
es
byte[] download( string pathname)
dnp
string download( string pathname)
cp
YFiles
target
download
cmd
Paramètres :
nom complet du fichier à charger, y compris le chemin d'accès.
pathname
Retourne :
le contenu du fichier chargé sous forme d'objet binaire
En cas d'erreur, déclenche une exception ou retourne un contenu vide.
472
pathname
pathname
As String) As Byte
pathname
YFiles
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières