Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the ability add or open a project item with a specific editor and to transfer an item to another project, in addition to the methods in the IVsProject2 interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<GuidAttribute("1C11116E-4FF2-4A80-82DC-69F95042E0A4")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProject3 _
Inherits IVsProject2
[GuidAttribute("1C11116E-4FF2-4A80-82DC-69F95042E0A4")]
[InterfaceTypeAttribute()]
public interface IVsProject3 : IVsProject2
[GuidAttribute(L"1C11116E-4FF2-4A80-82DC-69F95042E0A4")]
[InterfaceTypeAttribute()]
public interface class IVsProject3 : IVsProject2
[<GuidAttribute("1C11116E-4FF2-4A80-82DC-69F95042E0A4")>]
[<InterfaceTypeAttribute()>]
type IVsProject3 =
interface
interface IVsProject2
end
public interface IVsProject3 extends IVsProject2
The IVsProject3 type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AddItem | Creates new items in a project, adds existing files to a project, or causes Add Item wizards to be run. |
![]() |
AddItemWithSpecific | Adds an item using a specific editor. |
![]() |
GenerateUniqueItemName | Generates a unique document name for a given item. |
![]() |
GetItemContext | Returns the context of an item. |
![]() |
GetMkDocument | Returns a document moniker. |
![]() |
IsDocumentInProject | Determines whether a document is in the project. |
![]() |
OpenItem | Opens an item in the project. |
![]() |
OpenItemWithSpecific | Opens an item using a specific editor. |
![]() |
RemoveItem | Removes an item from the project. |
![]() |
ReopenItem | Reopens an item in the project. |
![]() |
TransferItem | Transfers an item from one project to another. The project that presently owns the item to be transferred calls this method on the project intending to receive the transferred item. |
Top
Remarks
Notes to Implementers
Implement IVsProject3 when needing to add or open items or documents in a project using a specific editor, or to transfer an item between projects.