IVsProject Interface

Manages items, or documents, within a project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")]
public interface IVsProject

The IVsProject type exposes the following members.

  NameDescription
Public methodAddItemCreates new items in a project, adds existing files to a project, or causes Add Item wizards to be run.
Public methodGenerateUniqueItemNameGenerates a unique document name for a given item.
Public methodGetItemContextReturns the context of an item.
Public methodGetMkDocumentReturns a document moniker.
Public methodIsDocumentInProjectDetermines whether a document is in the project.
Public methodOpenItemOpens an item in the project.
Top

Notes to Implementers

Implement IVsProject when needing to remove or reopen items or documents in a project using a specific editor, or to transfer an item between projects.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft