Partager via


IVsProject2 Members

Include Protected Members
Include Inherited Members

Provides the ability to remove and reopen items in a project, in addition to the methods in the IVsProject interface.

The IVsProject2 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. (Inherited from IVsProject.)
Public method AddItem(UInt32, VSADDITEMOPERATION, String, UInt32, array<String[], IntPtr, array<VSADDRESULT[]) 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. (Inherited from IVsProject.)
Public method GenerateUniqueItemName(UInt32, String, String, String%) Generates a unique document name for a given item.
Public method GetItemContext Returns the context of an item. (Inherited from IVsProject.)
Public method GetItemContext(UInt32, IServiceProvider%) Returns the context of an item.
Public method GetMkDocument Returns a document moniker. (Inherited from IVsProject.)
Public method GetMkDocument(UInt32, String%) Returns a document moniker.
Public method IsDocumentInProject Determines whether a document is in the project. (Inherited from IVsProject.)
Public method IsDocumentInProject(String, Int32%, array<VSDOCUMENTPRIORITY[], UInt32%) Determines whether a document is in the project.
Public method OpenItem Opens an item in the project. (Inherited from IVsProject.)
Public method OpenItem(UInt32, Guid%, IntPtr, IVsWindowFrame%) Opens an item in the project.
Public method RemoveItem Removes an item from the project.
Public method ReopenItem Reopens an item in the project.

Top

See Also

Reference

IVsProject2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace