Partilhar via


ProvideProjectItemAttribute(Object, String, String, Int32) Constructor

Definition

Initializes a new instance of ProvideProjectItemAttribute for the item.

public:
 ProvideProjectItemAttribute(System::Object ^ projectFactoryType, System::String ^ itemCategoryName, System::String ^ templatesDir, int priority);
public:
 ProvideProjectItemAttribute(Platform::Object ^ projectFactoryType, Platform::String ^ itemCategoryName, Platform::String ^ templatesDir, int priority);
 ProvideProjectItemAttribute(winrt::Windows::Foundation::IInspectable const & projectFactoryType, std::wstring const & itemCategoryName, std::wstring const & templatesDir, int priority);
public ProvideProjectItemAttribute (object projectFactoryType, string itemCategoryName, string templatesDir, int priority);
new Microsoft.VisualStudio.Shell.ProvideProjectItemAttribute : obj * string * string * int -> Microsoft.VisualStudio.Shell.ProvideProjectItemAttribute
Public Sub New (projectFactoryType As Object, itemCategoryName As String, templatesDir As String, priority As Integer)

Parameters

projectFactoryType
Object

The type of project factory. This can be a Type , a GUID, or the string form of the GUID.

itemCategoryName
String

The display name of the type of item.

templatesDir
String

The directory in which the templates for this project type can be found.

priority
Int32

The priority of this type (for sorting purposes).

Applies to