共用方式為


FlavoredProjectFactory Class

Definition

A factory for creating flavored projects, otherwise known as project subtypes.

public ref class FlavoredProjectFactory abstract : Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProjectFactory, Microsoft::VisualStudio::Shell::Interop::IVsProjectFactory
[Windows::Foundation::Metadata::WebHostHidden]
class FlavoredProjectFactory abstract : Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProjectFactory, Microsoft::VisualStudio::Shell::Interop::IVsProjectFactory
public abstract class FlavoredProjectFactory : Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory, Microsoft.VisualStudio.Shell.Interop.IVsProjectFactory
type FlavoredProjectFactory = class
    interface IVsAggregatableProjectFactory
    interface IVsProjectFactory
Public MustInherit Class FlavoredProjectFactory
Implements IVsAggregatableProjectFactory, IVsProjectFactory
Inheritance
FlavoredProjectFactory
Implements

Remarks

This class has been deprecated. Flavored projects should inherit from FlavoredProjectFactoryBase instead.

Constructors

FlavoredProjectFactory()

Initializes a new instance of FlavoredProjectFactory.

Properties

serviceProvider

Gets the project's service provider.

Methods

CanCreateProject(String, UInt32)

Determines whether or not the project can be created with the supplied parameters.

CreateProject(String, String, String, UInt32, Guid, IntPtr, Int32)

Creates a project.

Dispose(Boolean)

Disposes the service provider.

Initialize()

Initializes the project factory.

PreCreateForOuter(Object)

Creates an instance of the project.

ProjectTypeGuids(String)

Gets the set of project type GUIDs from the project file.

Explicit Interface Implementations

IVsAggregatableProjectFactory.GetAggregateProjectType(String, String)

Gets a semicolon-delimited string of project type GUIDs.

IVsAggregatableProjectFactory.PreCreateForOuter(Object, Object)

Creates an aggregatable inner project.

IVsProjectFactory.CanCreateProject(String, UInt32, Int32)

Determines whether or not the project can be created.

IVsProjectFactory.Close()

Disposes this object.

IVsProjectFactory.CreateProject(String, String, String, UInt32, Guid, IntPtr, Int32)

Creates a flavored project.

IVsProjectFactory.SetSite(IServiceProvider)

Initializes the project and allows the project to obtain services proffered by the environment.

Applies to