Freigeben über


ProvideProjectItemAttribute Constructor

Initializes a new instance of ProvideProjectItemAttribute for the item.

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

Syntax

'Declaration
Public Sub New ( _
    projectFactoryType As Object, _
    itemCategoryName As String, _
    templatesDir As String, _
    priority As Integer _
)
public ProvideProjectItemAttribute(
    Object projectFactoryType,
    string itemCategoryName,
    string templatesDir,
    int priority
)

Parameters

  • projectFactoryType
    Type: System.Object
    The type of project factory. This can be a Type , a GUID, or the string form of the GUID.
  • itemCategoryName
    Type: System.String
    The display name of the type of item.
  • templatesDir
    Type: System.String
    The directory in which the templates for this project type can be found.
  • priority
    Type: System.Int32
    The priority of this type (for sorting purposes).

.NET Framework Security

See Also

Reference

ProvideProjectItemAttribute Class

Microsoft.VisualStudio.Shell Namespace