DataLakeStoreFrontEndAdapter.GetStreamLength(String, Boolean) 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.
Obtient une valeur indiquant la longueur d’un flux, en octets.
public long GetStreamLength (string streamPath, bool isDownload = false);
abstract member GetStreamLength : string * bool -> int64
override this.GetStreamLength : string * bool -> int64
Public Function GetStreamLength (streamPath As String, Optional isDownload As Boolean = false) As Long
Paramètres
- streamPath
- String
Chemin d’accès relatif au flux.
- isDownload
- Boolean
si la valeur true
est définie sur [est téléchargé], ce qui signifie que nous obtiendrons la longueur du flux sur l’ordinateur local plutôt que sur le serveur.
Retours
Longueur du flux, en octets.
Implémente
Exceptions
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour