Project.AddFile Method (String, Stream)
Adds a new file to the Project.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)
Syntax
public void AddFile(
string name,
Stream stream
)
public:
void AddFile(
String^ name,
Stream^ stream
)
member AddFile :
name:string *
stream:Stream -> unit
Public Sub AddFile (
name As String,
stream As Stream
)
Parameters
name
Type: System.StringThe name of the file.
stream
Type: System.IO.StreamA stream for the content of the file.
See Also
Project Class
Microsoft.VisualStudio.Tools.Applications Namespace