IFolderProjectItem.AddDocument Method (String, Byte[])
.NET Framework (current version)
Adds a document to a project folder in a design host, such as Visual Studio 2005.
Assembly: System.Design (in System.Design.dll)
Parameters
- name
-
Type:
System.String
The name of the document.
- content
-
Type:
System.Byte[]
An array of type Byte containing the document contents.
Return Value
Type: System.Web.UI.Design.IDocumentProjectItemAn IDocumentProjectItem representing the added document.
.NET Framework
Available since 2.0
Available since 2.0
Show: