Share via


ProvideProjectItemAttribute Class

This attribute registers items to be included in the Add New Item dialog for the specified project type. It is placed on a VSPackage.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ProvideProjectItemAttribute _
    Inherits RegistrationAttribute
'Usage
Dim instance As ProvideProjectItemAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class ProvideProjectItemAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
public ref class ProvideProjectItemAttribute sealed : public RegistrationAttribute
public final class ProvideProjectItemAttribute extends RegistrationAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.ProvideProjectItemAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ProvideProjectItemAttribute Members

Microsoft.VisualStudio.Shell Namespace