Freigeben über


IVsProject3 Interface

Definition

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.

public interface class IVsProject3 : Microsoft::VisualStudio::Shell::Interop::IVsProject2
public interface class IVsProject3 : Microsoft::VisualStudio::Shell::Interop::IVsProject2
__interface IVsProject3 : Microsoft::VisualStudio::Shell::Interop::IVsProject2
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("1C11116E-4FF2-4A80-82DC-69F95042E0A4")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProject3 : Microsoft.VisualStudio.Shell.Interop.IVsProject2
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("1C11116E-4FF2-4A80-82DC-69F95042E0A4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProject3 : Microsoft.VisualStudio.Shell.Interop.IVsProject2
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("1C11116E-4FF2-4A80-82DC-69F95042E0A4")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProject3 = interface
    interface IVsProject2
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("1C11116E-4FF2-4A80-82DC-69F95042E0A4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProject3 = interface
    interface IVsProject2
    interface IVsProject
Public Interface IVsProject3
Implements IVsProject2
Derived
Attributes
Implements

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.

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.

AddItemWithSpecific(UInt32, VSADDITEMOPERATION, String, UInt32, String[], IntPtr, UInt32, Guid, String, Guid, VSADDRESULT[])

Adds an item using a specific editor.

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.

OpenItemWithSpecific(UInt32, UInt32, Guid, String, Guid, IntPtr, IVsWindowFrame)

Opens an item using a specific editor.

RemoveItem(UInt32, UInt32, Int32)

Removes an item from the project.

ReopenItem(UInt32, Guid, String, Guid, IntPtr, IVsWindowFrame)

Reopens an item in the project.

TransferItem(String, String, IVsWindowFrame)

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.

Applies to