다음을 통해 공유


RegisterProjectItemAttribute Constructor

Initializes a new instance of RegisterProjectItemAttribute.

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

‘선언
Public Sub New ( _
    projectFactoryType As Object, _
    itemCategoryName As String, _
    templatesDir As String, _
    priority As Integer _
)
‘사용 방법
Dim projectFactoryType As Object
Dim itemCategoryName As String
Dim templatesDir As String
Dim priority As Integer

Dim instance As New RegisterProjectItemAttribute(projectFactoryType, _
    itemCategoryName, templatesDir, _
    priority)
public RegisterProjectItemAttribute(
    Object projectFactoryType,
    string itemCategoryName,
    string templatesDir,
    int priority
)
public:
RegisterProjectItemAttribute(
    Object^ projectFactoryType, 
    String^ itemCategoryName, 
    String^ templatesDir, 
    int priority
)
new : 
        projectFactoryType:Object * 
        itemCategoryName:string * 
        templatesDir:string * 
        priority:int -> RegisterProjectItemAttribute
public function RegisterProjectItemAttribute(
    projectFactoryType : Object, 
    itemCategoryName : String, 
    templatesDir : String, 
    priority : int
)

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

RegisterProjectItemAttribute Members

Microsoft.VisualStudio.Shell Namespace