RegisterProjectItemAttribute Class
Note: This API is now obsolete.
RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Dichiarazione
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
<ObsoleteAttribute("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")> _
Public NotInheritable Class RegisterProjectItemAttribute _
Inherits RegistrationAttribute
'Utilizzo
Dim instance As RegisterProjectItemAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
[ObsoleteAttribute("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")]
public sealed class RegisterProjectItemAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
[ObsoleteAttribute(L"RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")]
public ref class RegisterProjectItemAttribute sealed : public RegistrationAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)>]
[<ObsoleteAttribute("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")>]
type RegisterProjectItemAttribute =
class
inherit RegistrationAttribute
end
public final class RegisterProjectItemAttribute extends RegistrationAttribute
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.RegisterProjectItemAttribute
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.