RegisterProjectItemAttribute Constructor
Initializes a new instance of RegisterProjectItemAttribute.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
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
)
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: ObjectThe type of the project factory.
itemCategoryName
Type: StringThe name of the item category.
templatesDir
Type: StringThe template directory for this project type.
priority
Type: Int32The 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.