IVstaHelper.AddFileToProject(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.
Ajoute un fichier au projet.
public:
bool AddFileToProject(System::String ^ fileName, System::String ^ contents);
public bool AddFileToProject(string fileName, string contents);
abstract member AddFileToProject : string * string -> bool
Public Function AddFileToProject (fileName As String, contents As String) As Boolean
Paramètres
- fileName
- String
Nom du fichier à ajouter.
- contents
- String
Contenu du fichier.
Retours
true si la méthode a réussi ; sinon, false.