FlavoredProject FlavoredProject FlavoredProject FlavoredProject Class

Definition

A project that is a subtype or flavor of an inner project. All methods by default delegate to the inner project. Non-default behaviors should be handled by the flavored project.

public ref class FlavoredProject abstract : Microsoft::VisualStudio::ProjectAggregator::CProjectAggregatorClass, IServiceProvider, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget, Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject, Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2, Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy
public abstract class FlavoredProject : Microsoft.VisualStudio.ProjectAggregator.CProjectAggregatorClass, IServiceProvider, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget, Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject, Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
type FlavoredProject = class
    inherit CProjectAggregatorClass
    interface IVsAggregatableProject
    interface IServiceProvider
    interface IVsHierarchy
    interface IVsUIHierarchy
    interface IOleCommandTarget
    interface IVsTrackProjectDocumentsEvents2
Public MustInherit Class FlavoredProject
Inherits CProjectAggregatorClass
Implements IOleCommandTarget, IServiceProvider, IVsAggregatableProject, IVsTrackProjectDocumentsEvents2, IVsUIHierarchy
Inheritance
Implements

Remarks

For more information on flavored projects, see Project Subtypes.

Constructors

FlavoredProject() FlavoredProject() FlavoredProject() FlavoredProject()

When overridden in a derived class, initializes an instance of the FlavoredProject class.

Fields

innerOleCommandTarget innerOleCommandTarget innerOleCommandTarget innerOleCommandTarget

The IOleCommandTarget interface of the inner project.

innerVsAggregatableProject innerVsAggregatableProject innerVsAggregatableProject innerVsAggregatableProject

The IVsAggregatableProject of the inner project.

innerVsHierarchy innerVsHierarchy innerVsHierarchy innerVsHierarchy

The IVsHierarchy interface of the inner project.

innerVsUIHierarchy innerVsUIHierarchy innerVsUIHierarchy innerVsUIHierarchy

The IVsUIHierarchy interface of the inner project.

serviceProvider serviceProvider serviceProvider serviceProvider

The service provider of the project.

Methods

AdviseHierarchyEvents(IVsHierarchyEvents) AdviseHierarchyEvents(IVsHierarchyEvents) AdviseHierarchyEvents(IVsHierarchyEvents) AdviseHierarchyEvents(IVsHierarchyEvents)

Subscribes to hierarchy events.

Close() Close() Close() Close()

Closes and cleans up a hierarchy once the environment determines that it is no longer used.

ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself.

GetCanonicalName(UInt32, String) GetCanonicalName(UInt32, String) GetCanonicalName(UInt32, String) GetCanonicalName(UInt32, String)

Gets the unique name associated with an item in the hierarchy. Used for workspace persistence, such as remembering window positions.

GetGuidProperty(UInt32, Int32) GetGuidProperty(UInt32, Int32) GetGuidProperty(UInt32, Int32) GetGuidProperty(UInt32, Int32)

Gets properties whose values are GUIDs.

GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Determines whether or not a node is a nested hierarchy.

GetProperty(UInt32, Int32, Object) GetProperty(UInt32, Int32, Object) GetProperty(UInt32, Int32, Object) GetProperty(UInt32, Int32, Object)

Gets the value of a property for a given node.

GetSite() GetSite() GetSite() GetSite()

Gets the service provider from which to access the services.

InitializeForOuter(String, String, String, UInt32, Guid, Boolean) InitializeForOuter(String, String, String, UInt32, Guid, Boolean) InitializeForOuter(String, String, String, UInt32, Guid, Boolean) InitializeForOuter(String, String, String, UInt32, Guid, Boolean)

Called by the outer project subtype to have the owned inner project subtype do its initialization work.

OnAggregationComplete() OnAggregationComplete() OnAggregationComplete() OnAggregationComplete()

Subscribes to IVsTrackProjectDocumentsEvents2 events. It is not required to flavor a project but makes it easier for derived classes to subscribe to these events.

ParseCanonicalName(String, UInt32) ParseCanonicalName(String, UInt32) ParseCanonicalName(String, UInt32) ParseCanonicalName(String, UInt32)

Returns the identifier of the hierarchy item, given its canonical name.

QueryClose() QueryClose() QueryClose() QueryClose()

Determines whether the hierarchy can be closed.

QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr)

Gets the status of the specified commands.

SetGuidProperty(UInt32, Int32, Guid) SetGuidProperty(UInt32, Int32, Guid) SetGuidProperty(UInt32, Int32, Guid) SetGuidProperty(UInt32, Int32, Guid)

Sets properties whose values are GUIDs.

SetInner(Object) SetInner(Object) SetInner(Object) SetInner(Object)

Sets the inner project.

(Inherited from CProjectAggregatorClass)
SetInnerProject(Object) SetInnerProject(Object) SetInnerProject(Object) SetInnerProject(Object)

Sets up the interfaces and menu commands for the inner project.

SetProperty(UInt32, Int32, Object) SetProperty(UInt32, Int32, Object) SetProperty(UInt32, Int32, Object) SetProperty(UInt32, Int32, Object)

Sets properties of a specific node or of the hierarchy.

UnadviseHierarchyEvents(UInt32) UnadviseHierarchyEvents(UInt32) UnadviseHierarchyEvents(UInt32) UnadviseHierarchyEvents(UInt32)

Disables client notification of hierarchy events.

Unused0() Unused0() Unused0() Unused0()

A placeholder for a future method.

Unused1() Unused1() Unused1() Unused1()

A placeholder for a future method.

Unused2() Unused2() Unused2() Unused2()

A placeholder for a future method.

Unused3() Unused3() Unused3() Unused3()

A placeholder for a future method.

Unused4() Unused4() Unused4() Unused4()

A placeholder for a future method.

Events

DirectoryAdded DirectoryAdded DirectoryAdded DirectoryAdded

Raised after a directory has been added to the project.

DirectoryRemoved DirectoryRemoved DirectoryRemoved DirectoryRemoved

Raised after a directory has been removed from the project.

DirectoryRenamed DirectoryRenamed DirectoryRenamed DirectoryRenamed

Raised after a directory in the project has been renamed.

FileAdded FileAdded FileAdded FileAdded

Raised after a file has been added to the project.

FileRemoved FileRemoved FileRemoved FileRemoved

Raised after a file has been removed from the project.

FileRenamed FileRenamed FileRenamed FileRenamed

Raised after a file in the project has been renamed.

SccStatusChanged SccStatusChanged SccStatusChanged SccStatusChanged

Raised after the source code control status of an item in the project has changed.

Explicit Interface Implementations

IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes a specified command or displays help for a command.

IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

Queries the object for the status of one or more commands.

IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type)

Gets the service of the specified type.

IVsAggregatableProject.GetAggregateProjectTypeGuids(String) IVsAggregatableProject.GetAggregateProjectTypeGuids(String) IVsAggregatableProject.GetAggregateProjectTypeGuids(String) IVsAggregatableProject.GetAggregateProjectTypeGuids(String)

Gets the list of project type GUIDs that make up the aggregate project. This method should be delegated to the innermost project within the system of aggregated project subtypes.

IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid, IntPtr, Int32) IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid, IntPtr, Int32) IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid, IntPtr, Int32) IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid, IntPtr, Int32)

Called by the outer project subtype to have the inner project subtype do its initialization work.

IVsAggregatableProject.OnAggregationComplete() IVsAggregatableProject.OnAggregationComplete() IVsAggregatableProject.OnAggregationComplete() IVsAggregatableProject.OnAggregationComplete()

Called to continue initialization after aggregation is complete.

IVsAggregatableProject.SetAggregateProjectTypeGuids(String) IVsAggregatableProject.SetAggregateProjectTypeGuids(String) IVsAggregatableProject.SetAggregateProjectTypeGuids(String) IVsAggregatableProject.SetAggregateProjectTypeGuids(String)

Updates the list of GUIDs that are persisted in the project file of the base project.

IVsAggregatableProject.SetInnerProject(Object) IVsAggregatableProject.SetInnerProject(Object) IVsAggregatableProject.SetInnerProject(Object) IVsAggregatableProject.SetInnerProject(Object)

Sets up the inner project as well as the necessary interface pointers.

IVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32) IVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32) IVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32) IVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32)

Subscribes to hierarchy events.

IVsHierarchy.Close() IVsHierarchy.Close() IVsHierarchy.Close() IVsHierarchy.Close()

Closes and cleans up a hierarchy once the environment determines that it is no longer used.

IVsHierarchy.GetCanonicalName(UInt32, String) IVsHierarchy.GetCanonicalName(UInt32, String) IVsHierarchy.GetCanonicalName(UInt32, String) IVsHierarchy.GetCanonicalName(UInt32, String)

Gets a unique name for an item in the hierarchy. Used for workspace persistence, such as remembering window positions.

IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid)

Gets properties whose values are GUIDs.

IVsHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) IVsHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) IVsHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) IVsHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Determines whether or not a node is a nested hierarchy.

IVsHierarchy.GetProperty(UInt32, Int32, Object) IVsHierarchy.GetProperty(UInt32, Int32, Object) IVsHierarchy.GetProperty(UInt32, Int32, Object) IVsHierarchy.GetProperty(UInt32, Int32, Object)

Gets properties of a given node or of the hierarchy.

IVsHierarchy.GetSite(IServiceProvider) IVsHierarchy.GetSite(IServiceProvider) IVsHierarchy.GetSite(IServiceProvider) IVsHierarchy.GetSite(IServiceProvider)

Gets the service provider from which to access the services.

IVsHierarchy.ParseCanonicalName(String, UInt32) IVsHierarchy.ParseCanonicalName(String, UInt32) IVsHierarchy.ParseCanonicalName(String, UInt32) IVsHierarchy.ParseCanonicalName(String, UInt32)

Returns the identifier of the hierarchy item, given its canonical name.

IVsHierarchy.QueryClose(Int32) IVsHierarchy.QueryClose(Int32) IVsHierarchy.QueryClose(Int32) IVsHierarchy.QueryClose(Int32)

Determines whether the hierarchy can be closed.

IVsHierarchy.SetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.SetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.SetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.SetGuidProperty(UInt32, Int32, Guid)

Sets properties whose values are GUIDs.

IVsHierarchy.SetProperty(UInt32, Int32, Object) IVsHierarchy.SetProperty(UInt32, Int32, Object) IVsHierarchy.SetProperty(UInt32, Int32, Object) IVsHierarchy.SetProperty(UInt32, Int32, Object)

Sets properties of a specific node or of the hierarchy.

IVsHierarchy.SetSite(IServiceProvider) IVsHierarchy.SetSite(IServiceProvider) IVsHierarchy.SetSite(IServiceProvider) IVsHierarchy.SetSite(IServiceProvider)

Sets the service provider from which to access the services.

IVsHierarchy.UnadviseHierarchyEvents(UInt32) IVsHierarchy.UnadviseHierarchyEvents(UInt32) IVsHierarchy.UnadviseHierarchyEvents(UInt32) IVsHierarchy.UnadviseHierarchyEvents(UInt32)

Disables client notification of hierarchy events.

IVsHierarchy.Unused0() IVsHierarchy.Unused0() IVsHierarchy.Unused0() IVsHierarchy.Unused0()

A placeholder for a future method.

IVsHierarchy.Unused1() IVsHierarchy.Unused1() IVsHierarchy.Unused1() IVsHierarchy.Unused1()

A placeholder for a future method.

IVsHierarchy.Unused2() IVsHierarchy.Unused2() IVsHierarchy.Unused2() IVsHierarchy.Unused2()

A placeholder for a future method.

IVsHierarchy.Unused3() IVsHierarchy.Unused3() IVsHierarchy.Unused3() IVsHierarchy.Unused3()

A placeholder for a future method.

IVsHierarchy.Unused4() IVsHierarchy.Unused4() IVsHierarchy.Unused4() IVsHierarchy.Unused4()

A placeholder for a future method.

IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDDIRECTORYFLAGS[])

Raised after directories have been added to a project.

IVsTrackProjectDocumentsEvents2.OnAfterAddFilesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterAddFilesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterAddFilesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterAddFilesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDFILEFLAGS[])

Raised after files have been added to a project.

IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEDIRECTORYFLAGS[])

Raised after a directory was removed from the project.

IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEFILEFLAGS[])

Raised after files have been removed from the project.

IVsTrackProjectDocumentsEvents2.OnAfterRenameDirectories(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRenameDirectories(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRenameDirectories(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEDIRECTORYFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRenameDirectories(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEDIRECTORYFLAGS[])

Raised after a directory has been moved or renamed.

IVsTrackProjectDocumentsEvents2.OnAfterRenameFiles(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRenameFiles(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRenameFiles(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEFILEFLAGS[]) IVsTrackProjectDocumentsEvents2.OnAfterRenameFiles(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEFILEFLAGS[])

Raised after files have been moved or renamed.

IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, IVsProject[], Int32[], String[], UInt32[]) IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, IVsProject[], Int32[], String[], UInt32[]) IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, IVsProject[], Int32[], String[], UInt32[]) IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, IVsProject[], Int32[], String[], UInt32[])

This method is called by the source code control component to inform listeners that source control status has changed. Do not call this method.

IVsTrackProjectDocumentsEvents2.OnQueryAddDirectories(IVsProject, Int32, String[], VSQUERYADDDIRECTORYFLAGS[], VSQUERYADDDIRECTORYRESULTS[], VSQUERYADDDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryAddDirectories(IVsProject, Int32, String[], VSQUERYADDDIRECTORYFLAGS[], VSQUERYADDDIRECTORYRESULTS[], VSQUERYADDDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryAddDirectories(IVsProject, Int32, String[], VSQUERYADDDIRECTORYFLAGS[], VSQUERYADDDIRECTORYRESULTS[], VSQUERYADDDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryAddDirectories(IVsProject, Int32, String[], VSQUERYADDDIRECTORYFLAGS[], VSQUERYADDDIRECTORYRESULTS[], VSQUERYADDDIRECTORYRESULTS[])

Raised by a project to determine whether directories can be added to the project. Not used.

IVsTrackProjectDocumentsEvents2.OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[])

Raised to determine whether files can be added to the project. Not used.

IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(IVsProject, Int32, String[], VSQUERYREMOVEDIRECTORYFLAGS[], VSQUERYREMOVEDIRECTORYRESULTS[], VSQUERYREMOVEDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(IVsProject, Int32, String[], VSQUERYREMOVEDIRECTORYFLAGS[], VSQUERYREMOVEDIRECTORYRESULTS[], VSQUERYREMOVEDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(IVsProject, Int32, String[], VSQUERYREMOVEDIRECTORYFLAGS[], VSQUERYREMOVEDIRECTORYRESULTS[], VSQUERYREMOVEDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(IVsProject, Int32, String[], VSQUERYREMOVEDIRECTORYFLAGS[], VSQUERYREMOVEDIRECTORYRESULTS[], VSQUERYREMOVEDIRECTORYRESULTS[])

Raised to determine whether directories can be removed from the project. Not used.

IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(IVsProject, Int32, String[], VSQUERYREMOVEFILEFLAGS[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(IVsProject, Int32, String[], VSQUERYREMOVEFILEFLAGS[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(IVsProject, Int32, String[], VSQUERYREMOVEFILEFLAGS[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(IVsProject, Int32, String[], VSQUERYREMOVEFILEFLAGS[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[])

Raised to determine whether files can be removed from the project. Not used.

IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories(IVsProject, Int32, String[], String[], VSQUERYRENAMEDIRECTORYFLAGS[], VSQUERYRENAMEDIRECTORYRESULTS[], VSQUERYRENAMEDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories(IVsProject, Int32, String[], String[], VSQUERYRENAMEDIRECTORYFLAGS[], VSQUERYRENAMEDIRECTORYRESULTS[], VSQUERYRENAMEDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories(IVsProject, Int32, String[], String[], VSQUERYRENAMEDIRECTORYFLAGS[], VSQUERYRENAMEDIRECTORYRESULTS[], VSQUERYRENAMEDIRECTORYRESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories(IVsProject, Int32, String[], String[], VSQUERYRENAMEDIRECTORYFLAGS[], VSQUERYRENAMEDIRECTORYRESULTS[], VSQUERYRENAMEDIRECTORYRESULTS[])

Raised to determine whether directories can be renamed in the project. Not used.

IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(IVsProject, Int32, String[], String[], VSQUERYRENAMEFILEFLAGS[], VSQUERYRENAMEFILERESULTS[], VSQUERYRENAMEFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(IVsProject, Int32, String[], String[], VSQUERYRENAMEFILEFLAGS[], VSQUERYRENAMEFILERESULTS[], VSQUERYRENAMEFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(IVsProject, Int32, String[], String[], VSQUERYRENAMEFILEFLAGS[], VSQUERYRENAMEFILERESULTS[], VSQUERYRENAMEFILERESULTS[]) IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(IVsProject, Int32, String[], String[], VSQUERYRENAMEFILEFLAGS[], VSQUERYRENAMEFILERESULTS[], VSQUERYRENAMEFILERESULTS[])

Raised to determine whether files can be renamed in the project. Not used.

IVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32) IVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32) IVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32) IVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32)

Subscribes to hierarchy events.

IVsUIHierarchy.Close() IVsUIHierarchy.Close() IVsUIHierarchy.Close() IVsUIHierarchy.Close()

Closes the project and cleans up its resources once the environment determines that it is no longer used.

IVsUIHierarchy.ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) IVsUIHierarchy.ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) IVsUIHierarchy.ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) IVsUIHierarchy.ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself.

IVsUIHierarchy.GetCanonicalName(UInt32, String) IVsUIHierarchy.GetCanonicalName(UInt32, String) IVsUIHierarchy.GetCanonicalName(UInt32, String) IVsUIHierarchy.GetCanonicalName(UInt32, String)

Gets the unique name associated with an item in the hierarchy. Used for workspace persistence, such as remembering window positions.

IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid)

Gets properties whose values are GUIDs.

IVsUIHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) IVsUIHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) IVsUIHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) IVsUIHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Determines whether or not a node is a nested hierarchy.

IVsUIHierarchy.GetProperty(UInt32, Int32, Object) IVsUIHierarchy.GetProperty(UInt32, Int32, Object) IVsUIHierarchy.GetProperty(UInt32, Int32, Object) IVsUIHierarchy.GetProperty(UInt32, Int32, Object)

Gets the value of a property for a given node.

IVsUIHierarchy.GetSite(IServiceProvider) IVsUIHierarchy.GetSite(IServiceProvider) IVsUIHierarchy.GetSite(IServiceProvider) IVsUIHierarchy.GetSite(IServiceProvider)

Gets the service provider from which to access the services.

IVsUIHierarchy.ParseCanonicalName(String, UInt32) IVsUIHierarchy.ParseCanonicalName(String, UInt32) IVsUIHierarchy.ParseCanonicalName(String, UInt32) IVsUIHierarchy.ParseCanonicalName(String, UInt32)

Returns the identifier of the hierarchy item, given its canonical name.

IVsUIHierarchy.QueryClose(Int32) IVsUIHierarchy.QueryClose(Int32) IVsUIHierarchy.QueryClose(Int32) IVsUIHierarchy.QueryClose(Int32)

Determines whether the hierarchy can be closed.

IVsUIHierarchy.QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) IVsUIHierarchy.QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) IVsUIHierarchy.QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) IVsUIHierarchy.QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr)

Gets the status of the specified commands.

IVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid) IVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid) IVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid) IVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid)

Sets properties whose values are GUIDs.

IVsUIHierarchy.SetProperty(UInt32, Int32, Object) IVsUIHierarchy.SetProperty(UInt32, Int32, Object) IVsUIHierarchy.SetProperty(UInt32, Int32, Object) IVsUIHierarchy.SetProperty(UInt32, Int32, Object)

Sets properties of a specific node or of the hierarchy.

IVsUIHierarchy.SetSite(IServiceProvider) IVsUIHierarchy.SetSite(IServiceProvider) IVsUIHierarchy.SetSite(IServiceProvider) IVsUIHierarchy.SetSite(IServiceProvider)

Sets the service provider from which to access the services.

IVsUIHierarchy.UnadviseHierarchyEvents(UInt32) IVsUIHierarchy.UnadviseHierarchyEvents(UInt32) IVsUIHierarchy.UnadviseHierarchyEvents(UInt32) IVsUIHierarchy.UnadviseHierarchyEvents(UInt32)

Disables client notification of hierarchy events.

IVsUIHierarchy.Unused0() IVsUIHierarchy.Unused0() IVsUIHierarchy.Unused0() IVsUIHierarchy.Unused0()

A placeholder for a future method.

IVsUIHierarchy.Unused1() IVsUIHierarchy.Unused1() IVsUIHierarchy.Unused1() IVsUIHierarchy.Unused1()

A placeholder for a future method.

IVsUIHierarchy.Unused2() IVsUIHierarchy.Unused2() IVsUIHierarchy.Unused2() IVsUIHierarchy.Unused2()

A placeholder for a future method.

IVsUIHierarchy.Unused3() IVsUIHierarchy.Unused3() IVsUIHierarchy.Unused3() IVsUIHierarchy.Unused3()

A placeholder for a future method.

IVsUIHierarchy.Unused4() IVsUIHierarchy.Unused4() IVsUIHierarchy.Unused4() IVsUIHierarchy.Unused4()

A placeholder for a future method.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

IsCapabilityMatch(IVsHierarchy, String) IsCapabilityMatch(IVsHierarchy, String) IsCapabilityMatch(IVsHierarchy, String) IsCapabilityMatch(IVsHierarchy, String)

Checks whether a given project matches the requirements prescribed in an AppliesTo expression.

EnumImportingProjects(IVsHierarchy) EnumImportingProjects(IVsHierarchy) EnumImportingProjects(IVsHierarchy) EnumImportingProjects(IVsHierarchy)

Enumerates all the projects who are importing the shared assets owned by the given Shared Assets Project hierarchy.

EnumOwningProjectsOfSharedAssets(IVsHierarchy) EnumOwningProjectsOfSharedAssets(IVsHierarchy) EnumOwningProjectsOfSharedAssets(IVsHierarchy) EnumOwningProjectsOfSharedAssets(IVsHierarchy)

Enumerates all the Shared Assets Projects who own and manage the shared assets being imported by the given project.

GetActiveProjectContext(IVsHierarchy) GetActiveProjectContext(IVsHierarchy) GetActiveProjectContext(IVsHierarchy) GetActiveProjectContext(IVsHierarchy)

Gets the active project context.

GetSharedItemsImportFullPaths(IVsHierarchy) GetSharedItemsImportFullPaths(IVsHierarchy) GetSharedItemsImportFullPaths(IVsHierarchy) GetSharedItemsImportFullPaths(IVsHierarchy)

Gets the full paths of the "Shared.items" files imported by the given project.

IsProjectImportingSharedAssets(IVsHierarchy) IsProjectImportingSharedAssets(IVsHierarchy) IsProjectImportingSharedAssets(IVsHierarchy) IsProjectImportingSharedAssets(IVsHierarchy)

Is the given project importing the shared assets?

IsSharedAssetsProject(IVsHierarchy) IsSharedAssetsProject(IVsHierarchy) IsSharedAssetsProject(IVsHierarchy) IsSharedAssetsProject(IVsHierarchy)

Is the given project a Shared Assets Project?

SetActiveProjectContext(IVsHierarchy, IVsHierarchy) SetActiveProjectContext(IVsHierarchy, IVsHierarchy) SetActiveProjectContext(IVsHierarchy, IVsHierarchy) SetActiveProjectContext(IVsHierarchy, IVsHierarchy)

Sets the active project context.

Applies to