Udostępnij za pośrednictwem


Document Constructor (2007 System)

Include Protected Members
Include Inherited Members

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

Document()

Infrastructure.

Public method

Document(String, String)

Infrastructure.

Top

Remarks

You cannot use the Document constructor to create a new Document host item.

Starting in Visual Studio 2008 Service Pack 1 (SP1), you can create Document host items programmatically in an application-level add-in by using the GetVstoObject method of any Document object. For more information, see Extending Word Documents and Excel Workbooks in Application-Level Add-ins at Run Time.

Document host items cannot be created programmatically in document-level projects. For more information, see Document Host Item.

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace