Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of ProvideProjectItemAttribute for the item.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Declaration
Public Sub New ( _
projectFactoryType As Object, _
itemCategoryName As String, _
templatesDir As String, _
priority As Integer _
)
'Usage
Dim projectFactoryType As Object
Dim itemCategoryName As String
Dim templatesDir As String
Dim priority As Integer
Dim instance As New ProvideProjectItemAttribute(projectFactoryType, _
itemCategoryName, templatesDir, _
priority)
public ProvideProjectItemAttribute(
Object projectFactoryType,
string itemCategoryName,
string templatesDir,
int priority
)
public:
ProvideProjectItemAttribute(
Object^ projectFactoryType,
String^ itemCategoryName,
String^ templatesDir,
int priority
)
new :
projectFactoryType:Object *
itemCategoryName:string *
templatesDir:string *
priority:int -> ProvideProjectItemAttribute
public function ProvideProjectItemAttribute(
projectFactoryType : Object,
itemCategoryName : String,
templatesDir : String,
priority : int
)
Parameters
- projectFactoryType
Type: System.Object
The type of project factory. This can be a Type , a GUID, or the string form of the GUID.
- itemCategoryName
Type: System.String
The display name of the type of item.
- templatesDir
Type: System.String
The directory in which the templates for this project type can be found.
- priority
Type: System.Int32
The priority of this type (for sorting purposes).
.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.
See Also
Reference
ProvideProjectItemAttribute Class