Partager via


ProvideProjectFactoryAttribute Constructor

Initializes a new instance of ProvideProjectFactoryAttribute.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    factoryType As Type, _
    name As String, _
    displayProjectFileExtensionsResourceID As String, _
    defaultProjectExtension As String, _
    possibleProjectExtensions As String, _
    projectTemplatesDirectory As String _
)
public ProvideProjectFactoryAttribute(
    Type factoryType,
    string name,
    string displayProjectFileExtensionsResourceID,
    string defaultProjectExtension,
    string possibleProjectExtensions,
    string projectTemplatesDirectory
)
public:
ProvideProjectFactoryAttribute(
    Type^ factoryType, 
    String^ name, 
    String^ displayProjectFileExtensionsResourceID, 
    String^ defaultProjectExtension, 
    String^ possibleProjectExtensions, 
    String^ projectTemplatesDirectory
)
new : 
        factoryType:Type * 
        name:string * 
        displayProjectFileExtensionsResourceID:string * 
        defaultProjectExtension:string * 
        possibleProjectExtensions:string * 
        projectTemplatesDirectory:string -> ProvideProjectFactoryAttribute
public function ProvideProjectFactoryAttribute(
    factoryType : Type, 
    name : String, 
    displayProjectFileExtensionsResourceID : String, 
    defaultProjectExtension : String, 
    possibleProjectExtensions : String, 
    projectTemplatesDirectory : String
)

Parameters

  • factoryType
    Type: Type

    The type of factory the VSPackage offers.

  • name
    Type: String

    The name of the project.

  • displayProjectFileExtensionsResourceID
    Type: String

    The resource ID of the project file extensions.

  • defaultProjectExtension
    Type: String

    The default project extension.

  • possibleProjectExtensions
    Type: String

    The possible project extensions supported by this project factory.

  • projectTemplatesDirectory
    Type: String

    The directory containing this project factory’s templates.

.NET Framework Security

See Also

Reference

ProvideProjectFactoryAttribute Class

Microsoft.VisualStudio.Shell Namespace