RegisterProjectItemAttribute Class

NOTE: This API is now obsolete.

RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead

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

Syntax

'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
<ObsoleteAttribute("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")> _
Public NotInheritable Class RegisterProjectItemAttribute _
    Inherits RegistrationAttribute
'使用
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
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.

See Also

Reference

RegisterProjectItemAttribute Members

Microsoft.VisualStudio.Shell Namespace