IFolderProjectItem.AddDocument(String, Byte[]) 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 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.
Returns
An IDocumentProjectItem representing the added document.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.