다음을 통해 공유


IVsProject4 Interface

Definition

Implemented on projects to allow more efficient querying of project info.

public interface class IVsProject4 : Microsoft::VisualStudio::Shell::Interop::IVsProject3
public interface class IVsProject4 : Microsoft::VisualStudio::Shell::Interop::IVsProject3
__interface IVsProject4 : Microsoft::VisualStudio::Shell::Interop::IVsProject3
[System.Runtime.InteropServices.Guid("12A0D88D-D8FE-4637-8350-214B5C29DE31")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProject4 : Microsoft.VisualStudio.Shell.Interop.IVsProject3
[<System.Runtime.InteropServices.Guid("12A0D88D-D8FE-4637-8350-214B5C29DE31")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProject4 = interface
    interface IVsProject3
[<System.Runtime.InteropServices.Guid("12A0D88D-D8FE-4637-8350-214B5C29DE31")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProject4 = interface
    interface IVsProject3
    interface IVsProject2
    interface IVsProject
Public Interface IVsProject4
Implements IVsProject3
Attributes
Implements

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.

ContainsFileEndingWith(String, Int32)

Determines whether the project contains a file with the specified ending.

ContainsFileWithItemType(String, Int32)

Determines whether the project contains a file whose MSBuild ItemType matches the specified type.

GenerateUniqueItemName(UInt32, String, String, String)

Generates a unique document name for a given item.

GetFilesEndingWith(String, UInt32, UInt32[], UInt32)

Returns an array of ITEMIDs of the files whose name ends with the specified string. The match is case-insensitive.

GetFilesWithItemType(String, UInt32, UInt32[], UInt32)

Returns an array of VSITEMIDs of files whose MSBuild ItemType matches the given string. The comparison is case insensitive.

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)
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