FileSystemInfo.Exists Propriété
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 si le fichier ou le répertoire existe.
public:
abstract property bool Exists { bool get(); };
public abstract bool Exists { get; }
member this.Exists : bool
Public MustOverride ReadOnly Property Exists As Boolean
Valeur de propriété
true si le fichier ou répertoire existe ; sinon, false.
Remarques
Pour obtenir la liste des tâches d’E/S courantes, consultez Tâches courantes d’E/S.