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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.