Поделиться через


FlavoredProjectBase Class

A project that is a subtype/flavor of an inner project.

This API is not CLS-compliant. 

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

Syntax

'Декларация
<CLSCompliantAttribute(False)> _
Public MustInherit Class FlavoredProjectBase _
    Implements IVsAggregatableProjectCorrected, IServiceProvider, IVsUIHierarchy, IVsHierarchy,  _
    IOleCommandTarget
'Применение
Dim instance As FlavoredProjectBase
[CLSCompliantAttribute(false)]
public abstract class FlavoredProjectBase : IVsAggregatableProjectCorrected, 
    IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget
[CLSCompliantAttribute(false)]
public ref class FlavoredProjectBase abstract : IVsAggregatableProjectCorrected, 
    IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget
[<AbstractClassAttribute>]
[<CLSCompliantAttribute(false)>]
type FlavoredProjectBase =  
    class
        interface IVsAggregatableProjectCorrected
        interface IServiceProvider
        interface IVsUIHierarchy
        interface IVsHierarchy
        interface IOleCommandTarget
    end
public abstract class FlavoredProjectBase implements IVsAggregatableProjectCorrected, IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget

Remarks

The default behavior of all methods is to delegate to the inner project. For any behavior you want to change, simply handle the request yourself.

You must set the serviceProvider field on this class before attempting to load the project.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase

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

FlavoredProjectBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace