MigrationsScaffolder.TryGetProjectFile(String, String) 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.
Tente de trouver un fichier sous le répertoire du projet.
protected virtual string TryGetProjectFile(string projectDir, string fileName);
protected virtual string? TryGetProjectFile(string projectDir, string fileName);
abstract member TryGetProjectFile : string * string -> string
override this.TryGetProjectFile : string * string -> string
Protected Overridable Function TryGetProjectFile (projectDir As String, fileName As String) As String
Paramètres
- projectDir
- String
Répertoire du projet.
- fileName
- String
Nom de fichier.
Retours
Chemin d’accès au fichier ou null si aucun.