IVstaHelper.AddFileToProject(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a file to the project.
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
Parameters
- fileName
- String
The name of the file to add.
- contents
- String
The contents of the file.
Returns
true if the method succeeded; otherwise, false.