Updated: November 2007
ProvideProjectFactoryAttribute declares that a package provides a project factory.
Namespace:
Microsoft.VisualStudio.Shell Assembly:
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ProvideProjectFactoryAttribute _
Inherits RegistrationAttribute
Dim instance As ProvideProjectFactoryAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class ProvideProjectFactoryAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
public ref class ProvideProjectFactoryAttribute sealed : public RegistrationAttribute
public final class ProvideProjectFactoryAttribute extends RegistrationAttribute
A single VSPackage can provide multiple project factories. If a VSPackage declares that it provides a project factory, it should create the factory and offer it to Visual Studio in the Initialize method of the Package-derived class.
System..::.Object
System..::.Attribute
Microsoft.VisualStudio.Shell..::.RegistrationAttribute
Microsoft.VisualStudio.Shell..::.ProvideProjectFactoryAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Reference