Share via


IVsProject4 Interface

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("12A0D88D-D8FE-4637-8350-214B5C29DE31")> _
Public Interface IVsProject4 _
    Inherits IVsProject3
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("12A0D88D-D8FE-4637-8350-214B5C29DE31")]
public interface IVsProject4 : IVsProject3
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"12A0D88D-D8FE-4637-8350-214B5C29DE31")]
public interface class IVsProject4 : IVsProject3
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("12A0D88D-D8FE-4637-8350-214B5C29DE31")>]
type IVsProject4 =  
    interface 
        interface IVsProject3 
    end
public interface IVsProject4 extends IVsProject3

The IVsProject4 type exposes the following members.

Methods

  Name Description
Public method AddItem
Public method AddItemWithSpecific
Public method ContainsFileEndingWith Determines whether the project contains a file with the specified ending.
Public method ContainsFileWithItemType Determines whether the project contains a file whose MSBuild ItemType matches the specified type.
Public method GenerateUniqueItemName
Public method GetFilesEndingWith Returns an array of ITEMIDs of the files whose name ends with the specified string. The match is case-insensitive.
Public method GetFilesWithItemType Returns an array of VSITEMIDs of files whose MSBuild ItemType matches the given string. The comparison is case insensitive.
Public method GetItemContext
Public method GetMkDocument
Public method IsDocumentInProject
Public method OpenItem
Public method OpenItemWithSpecific
Public method RemoveItem
Public method ReopenItem
Public method TransferItem

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace