Compartir a través de


ProvideProjectFactoryAttribute Constructor

Initializes a new instance of ProvideProjectFactoryAttribute.

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

Syntax

'Declaración
Public Sub New ( _
    factoryType As Type, _
    name As String, _
    displayProjectFileExtensionsResourceID As String, _
    defaultProjectExtension As String, _
    possibleProjectExtensions As String, _
    projectTemplatesDirectory As String _
)
'Uso
Dim factoryType As Type
Dim name As String
Dim displayProjectFileExtensionsResourceID As String
Dim defaultProjectExtension As String
Dim possibleProjectExtensions As String
Dim projectTemplatesDirectory As String

Dim instance As New ProvideProjectFactoryAttribute(factoryType, _
    name, displayProjectFileExtensionsResourceID, _
    defaultProjectExtension, possibleProjectExtensions, _
    projectTemplatesDirectory)
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: System.Type
    The type of factory the VSPackage offers.
  • displayProjectFileExtensionsResourceID
    Type: System.String
    The resource ID of the project file extensions.
  • defaultProjectExtension
    Type: System.String
    The default project extension.
  • possibleProjectExtensions
    Type: System.String
    The possible project extensions supported by this project factory.
  • projectTemplatesDirectory
    Type: System.String
    The directory containing this project factory’s templates.

.NET Framework Security

See Also

Reference

ProvideProjectFactoryAttribute Class

ProvideProjectFactoryAttribute Members

Microsoft.VisualStudio.Shell Namespace