IVsProject Interface

Definition

Manages items, or documents, within a project.

C++/CX
public interface class IVsProject
Derived
Attributes

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.

Methods

AddItem(UInt32, VSADDITEMOPERATION, String, UInt32, String[], IntPtr, VSADDRESULT[])

Creates new items in a project, adds existing files to a project, or causes Add Item wizards to be run.

GenerateUniqueItemName(UInt32, String, String, String)

Generates a unique document name for a given item.

GetItemContext(UInt32, IServiceProvider)

Returns the context of an item.

GetMkDocument(UInt32, String)

Returns a document moniker.

IsDocumentInProject(String, Int32, VSDOCUMENTPRIORITY[], UInt32)

Determines whether a document is in the project.

OpenItem(UInt32, Guid, IntPtr, IVsWindowFrame)

Opens an item in the project.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022