Editare

Partajați prin


IFolderProjectItem.AddDocument(String, Byte[]) Method

Definition

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

public:
 System::Web::UI::Design::IDocumentProjectItem ^ AddDocument(System::String ^ name, cli::array <System::Byte> ^ content);
public System.Web.UI.Design.IDocumentProjectItem AddDocument (string name, byte[] content);
abstract member AddDocument : string * byte[] -> System.Web.UI.Design.IDocumentProjectItem
Public Function AddDocument (name As String, content As Byte()) As IDocumentProjectItem

Parameters

name
String

The name of the document.

content
Byte[]

An array of type Byte containing the document contents.

Returns

An IDocumentProjectItem representing the added document.

Applies to

See also