Partager via


IVsProject Interface

Definition

Manages items, or documents, within a project.

public interface class IVsProject
public interface class IVsProject
__interface IVsProject
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProject
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProject
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProject = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("CD4028ED-C4D8-44BA-890F-E7FB02A380C6")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProject = interface
Public Interface 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