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)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")> _
Public Interface IVsProject
[InterfaceTypeAttribute()]
[GuidAttribute("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")]
public interface IVsProject
[InterfaceTypeAttribute()]
[GuidAttribute(L"CD4028ED-C4D8-44BA-890F-E7FB02A380C6")]
public interface class IVsProject
[<InterfaceTypeAttribute()>]
[<GuidAttribute("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")>]
type IVsProject = interface end
public interface IVsProject
The IVsProject type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddItem | Creates new items in a project, adds existing files to a project, or causes Add Item wizards to be run. | |
GenerateUniqueItemName | Generates a unique document name for a given item. | |
GetItemContext | Returns the context of an item. | |
GetMkDocument | Returns a document moniker. | |
IsDocumentInProject | Determines whether a document is in the project. | |
OpenItem | Opens an item in the project. |
Top
Remarks
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.