共用方式為


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.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public MustInherit Class FlavoredProject _
    Inherits CProjectAggregatorClass _
    Implements IVsAggregatableProject, IServiceProvider, IVsUIHierarchy, IVsHierarchy,  _
    IOleCommandTarget, IVsTrackProjectDocumentsEvents2
'用途
Dim instance As FlavoredProject
[CLSCompliantAttribute(false)]
public abstract class FlavoredProject : CProjectAggregatorClass, 
    IVsAggregatableProject, IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget, 
    IVsTrackProjectDocumentsEvents2
[CLSCompliantAttribute(false)]
public ref class FlavoredProject abstract : public CProjectAggregatorClass, 
    IVsAggregatableProject, IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget, 
    IVsTrackProjectDocumentsEvents2
[<AbstractClassAttribute>]
[<CLSCompliantAttribute(false)>]
type FlavoredProject =  
    class
        inherit CProjectAggregatorClass
        interface IVsAggregatableProject
        interface IServiceProvider
        interface IVsUIHierarchy
        interface IVsHierarchy
        interface IOleCommandTarget
        interface IVsTrackProjectDocumentsEvents2
    end
public abstract class FlavoredProject extends CProjectAggregatorClass implements IVsAggregatableProject, IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget, IVsTrackProjectDocumentsEvents2

Remarks

For more information on flavored projects, see Project Subtypes.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ProjectAggregator.CProjectAggregatorClass
    Microsoft.VisualStudio.Shell.Flavor.FlavoredProject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace