ReadOnlyFile Constructeurs
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.
Surcharges
| Nom | Description |
|---|---|
| ReadOnlyFile(String) |
Créez un fichier prenant le chemin d’accès au fichier. |
| ReadOnlyFile(FileBase) |
Construisez un fichier prenant le fichier. |
| ReadOnlyFile(String, String) |
Construisez un fichier prenant le chemin d’accès au fichier et le type de contenu (type MIME). |
ReadOnlyFile(String)
Créez un fichier prenant le chemin d’accès au fichier.
public ReadOnlyFile(string fullPath);
Paramètres
- fullPath
- System.String
Chemin d’accès complet du fichier.
S’applique à
ReadOnlyFile(FileBase)
Construisez un fichier prenant le fichier.
public ReadOnlyFile(Xamarin.Essentials.FileBase file);
Paramètres
- file
- FileBase
Fichier à utiliser pour ReadOnlyFile
S’applique à
ReadOnlyFile(String, String)
Construisez un fichier prenant le chemin d’accès au fichier et le type de contenu (type MIME).
public ReadOnlyFile(string fullPath, string contentType);
Paramètres
- fullPath
- System.String
Chemin d’accès complet du fichier.
- contentType
- System.String
Type de contenu (type MIME) du fichier (par exemple : image/png).