Initializes a new instance of RegisterProjectItemAttribute.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
)
public function RegisterProjectItemAttribute(
projectFactoryType : Object,
itemCategoryName : String,
templatesDir : String,
priority : int
)
Parameters
projectFactoryType
Type: System.ObjectThe type of the project factory.
itemCategoryName
Type: System.StringThe name of the item category.
templatesDir
Type: System.StringThe template directory for this project type.
priority
Type: System.Int32The priority of the project type.
Permissions
- 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.
See Also
Reference
RegisterProjectItemAttribute Class