共用方式為


RegisterProjectItemAttribute Constructor

Initializes a new instance of RegisterProjectItemAttribute.

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

Syntax

'宣告
Public Sub New ( _
    projectFactoryType As Object, _
    itemCategoryName As String, _
    templatesDir As String, _
    priority As Integer _
)
public RegisterProjectItemAttribute(
    Object projectFactoryType,
    string itemCategoryName,
    string templatesDir,
    int priority
)

Parameters

  • projectFactoryType
    Type: System.Object
    The type of the project factory.
  • itemCategoryName
    Type: System.String
    The name of the item category.
  • templatesDir
    Type: System.String
    The template directory for this project type.
  • priority
    Type: System.Int32
    The priority of the project type.

.NET Framework Security

See Also

Reference

RegisterProjectItemAttribute Class

Microsoft.VisualStudio.Shell Namespace