FlavoredProject Class
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.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Microsoft.VisualStudio.ProjectAggregator.CProjectAggregatorClass
Microsoft.VisualStudio.Shell.Flavor.FlavoredProject
| Name | Description | |
|---|---|---|
![]() | FlavoredProject() | When overridden in a derived class, initializes an instance of the FlavoredProject class. |
| Name | Description | |
|---|---|---|
![]() | AdviseHierarchyEvents(IVsHierarchyEvents) | Subscribes to hierarchy events. |
![]() | Close() | Closes and cleans up a hierarchy once the environment determines that it is no longer used. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr) | Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself. |
![]() | Finalize() | (Inherited from Object.) |
![]() | 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) | Gets properties whose values are GUIDs. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) | Determines whether or not a node is a nested hierarchy. |
![]() | GetProperty(UInt32, Int32, Object) | Gets the value of a property for a given node. |
![]() | GetSite() | Gets the service provider from which to access the services. |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeForOuter(String, String, String, UInt32, Guid, Boolean) | Called by the outer project subtype to have the owned inner project subtype do its initialization work. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | 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) | Returns the identifier of the hierarchy item, given its canonical name. |
![]() | QueryClose() | Determines whether the hierarchy can be closed. |
![]() | QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr) | Gets the status of the specified commands. |
![]() | SetGuidProperty(UInt32, Int32, Guid) | Sets properties whose values are GUIDs. |
![]() | SetInner(Object) | Sets the inner project.(Inherited from CProjectAggregatorClass.) |
![]() | SetInnerProject(Object) | Sets up the interfaces and menu commands for the inner project. |
![]() | SetProperty(UInt32, Int32, Object) | Sets properties of a specific node or of the hierarchy. |
![]() | ToString() | (Inherited from Object.) |
![]() | UnadviseHierarchyEvents(UInt32) | Disables client notification of hierarchy events. |
![]() | Unused0() | A placeholder for a future method. |
![]() | Unused1() | A placeholder for a future method. |
![]() | Unused2() | A placeholder for a future method. |
![]() | Unused3() | A placeholder for a future method. |
![]() | Unused4() | A placeholder for a future method. |
| Name | Description | |
|---|---|---|
![]() | innerOleCommandTarget | The IOleCommandTarget interface of the inner project. |
![]() | innerVsAggregatableProject | The IVsAggregatableProject of the inner project. |
![]() | innerVsHierarchy | The IVsHierarchy interface of the inner project. |
![]() | innerVsUIHierarchy | The IVsUIHierarchy interface of the inner project. |
![]() | serviceProvider | The service provider of the project. |
| Name | Description | |
|---|---|---|
![]() | DirectoryAdded | Raised after a directory has been added to the project. |
![]() | DirectoryRemoved | Raised after a directory has been removed from the project. |
![]() | DirectoryRenamed | Raised after a directory in the project has been renamed. |
![]() | FileAdded | Raised after a file has been added to the project. |
![]() | FileRemoved | Raised after a file has been removed from the project. |
![]() | FileRenamed | Raised after a file in the project has been renamed. |
![]() | SccStatusChanged | Raised after the source code control status of an item in the project has changed. |
| Name | Description | |
|---|---|---|
![]() | EnumImportingProjects() | Enumerates all the projects that are importing the shared assets owned by the given Shared Assets Project hierarchy.(Defined by SharedProjectUtilities.) |
![]() | EnumOwningProjectsOfSharedAssets() | The Shared Assets Projects that own and manage the shared assets imported by the given project.(Defined by SharedProjectUtilities.) |
![]() | GetActiveProjectContext() | Gets the active project context.(Defined by SharedProjectUtilities.) |
![]() | GetSharedItemsImportFullPaths() | Gets the full paths of the "Shared.items" files imported by the given project.(Defined by SharedProjectUtilities.) |
![]() | IsCapabilityMatch(String) | Overloaded. Checks whether a given project matches the requirements prescribed in an AppliesTo expression.(Defined by PackageUtilities.) |
![]() | IsProjectImportingSharedAssets() | Determines whether the given project imports shared assets.(Defined by SharedProjectUtilities.) |
![]() | IsSharedAssetsProject() | Determines whether the given project is a Shared Assets Project.(Defined by SharedProjectUtilities.) |
![]() | SetActiveProjectContext(IVsHierarchy) | Sets the active project context.(Defined by SharedProjectUtilities.) |
For more information on flavored projects, see Project Subtypes.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





