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
Public method AddItem Creates new items in a project, adds existing files to a project, or causes Add Item wizards to be run.
Public method GenerateUniqueItemName Generates a unique document name for a given item.
Public method GetItemContext Returns the context of an item.
Public method GetMkDocument Returns a document moniker.
Public method IsDocumentInProject Determines whether a document is in the project.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace