IFolderProjectItem.AddDocument Method (String, Byte[])

 

Adds a document to a project folder in a design host, such as Visual Studio 2005.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

IDocumentProjectItem AddDocument(
	string name,
	byte[] content
)

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.IDocumentProjectItem

An IDocumentProjectItem representing the added document.

.NET Framework
Available since 2.0
Return to top
Show: