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(1)]
[GuidAttribute("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")]
[ComConversionLossAttribute]
public interface class IVsProject

NameDescription
System_CAPS_pubmethodAddItem(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.

System_CAPS_pubmethodGenerateUniqueItemName(UInt32, String^, String^, String^)

Generates a unique document name for a given item.

System_CAPS_pubmethodGetItemContext(UInt32, IServiceProvider^)

Returns the context of an item.

System_CAPS_pubmethodGetMkDocument(UInt32, String^)

Returns a document moniker.

System_CAPS_pubmethodIsDocumentInProject(String^, Int32, array<VSDOCUMENTPRIORITY>^, UInt32)

Determines whether a document is in the project.

System_CAPS_pubmethodOpenItem(UInt32, Guid, IntPtr, IVsWindowFrame^)

Opens an item in the project.

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.

Return to top
Show: