RegistrationAttribute Class
An abstract class for VSPackage registration. The RegistrationAttribute class allows new registration information to be added without changing the registration tools.
Assembly: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
System::Attribute
Microsoft.VisualStudio.Shell::RegistrationAttribute
Microsoft.VisualStudio.Shell::CodeGeneratorRegistrationAttribute
Microsoft.VisualStudio.Shell::ComponentPickerPropertyPageAttribute
Microsoft.VisualStudio.Shell.Design::DesignSurfaceExtensionAttribute
Microsoft.VisualStudio.Shell.Design::ProvideDesignerMetadataAttribute
Microsoft.VisualStudio.Shell.Design::ProvideDesignerOptionsAttribute
Microsoft.VisualStudio.Shell.Design::ProvideGlobalObjectProviderAttribute
Microsoft.VisualStudio.Shell.Design::ProvideViewAdapterAttribute
Microsoft.VisualStudio.Shell.Design.Serialization::ProvideDesignerLoaderAttribute
Microsoft.VisualStudio.Shell.Design.Serialization::ProvideGeneratorAttribute
Microsoft.VisualStudio.Shell::EditorFactoryNotifyForProjectAttribute
Microsoft.VisualStudio.Shell::ExtensionPointRegistrationAttribute
Microsoft.VisualStudio.Shell::InstalledProductRegistrationAttribute
Microsoft.VisualStudio.Shell::PackageRegistrationAttribute
Microsoft.VisualStudio.Shell::ProvideAppCommandLineAttribute
Microsoft.VisualStudio.Shell::ProvideAutoLoadAttribute
Microsoft.VisualStudio.Shell::ProvideAutomationObjectAttribute
Microsoft.VisualStudio.Shell::ProvideBindingPathAttribute
Microsoft.VisualStudio.Shell::ProvideDependentAssemblyAttribute
Microsoft.VisualStudio.Shell::ProvideEditorExtensionAttribute
Microsoft.VisualStudio.Shell::ProvideEditorFactoryAttribute
Microsoft.VisualStudio.Shell::ProvideEditorLogicalViewAttribute
Microsoft.VisualStudio.Shell::ProvideExtenderAttribute
Microsoft.VisualStudio.Shell::ProvideExtensibleUIContextRuleAttribute
Microsoft.VisualStudio.Shell::ProvideKeyBindingTableAttribute
Microsoft.VisualStudio.Shell::ProvideLanguageCodeExpansionAttribute
Microsoft.VisualStudio.Shell::ProvideLanguageEditorToolsOptionCategoryAttribute
Microsoft.VisualStudio.Shell::ProvideLanguageExtensionAttribute
Microsoft.VisualStudio.Shell::ProvideLanguageServiceAttribute
Microsoft.VisualStudio.Shell::ProvideLoadKeyAttribute
Microsoft.VisualStudio.Shell::ProvideMenuResourceAttribute
Microsoft.VisualStudio.Shell::ProvideMSBuildTargetsAttribute
Microsoft.VisualStudio.Shell::ProvideObjectAttribute
Microsoft.VisualStudio.Shell::ProvideOptionDialogPageAttribute
Microsoft.VisualStudio.Shell::ProvideProfileAttribute
Microsoft.VisualStudio.Shell::ProvideProjectFactoryAttribute
Microsoft.VisualStudio.Shell::ProvideProjectItemAttribute
Microsoft.VisualStudio.Shell::ProvideServiceAttributeBase
Microsoft.VisualStudio.Shell::ProvideSettingAttribute
Microsoft.VisualStudio.Shell::ProvideStaticToolboxGroupAttribute
Microsoft.VisualStudio.Shell::ProvideStaticToolboxItemAttribute
Microsoft.VisualStudio.Shell::ProvideToolboxItemConfigurationAttribute
Microsoft.VisualStudio.Shell::ProvideToolboxItemDiscoveryAttribute
Microsoft.VisualStudio.Shell::ProvideToolboxItemsAttribute
Microsoft.VisualStudio.Shell::ProvideToolWindowAttribute
Microsoft.VisualStudio.Shell::ProvideToolWindowVisibilityAttribute
Microsoft.VisualStudio.Shell::ProvideUIContextRuleAttribute
Microsoft.VisualStudio.Shell::ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
Microsoft.VisualStudio.Shell::ProvideXmlEditorChooserDesignerViewAttribute
Microsoft.VisualStudio.Shell::RegisterAutoLoadAttribute
Microsoft.VisualStudio.Shell::RegisterEditorExtensionAttribute
Microsoft.VisualStudio.Shell::RegisterEditorLogicalViewAttribute
Microsoft.VisualStudio.Shell::RegisterExtenderAttribute
Microsoft.VisualStudio.Shell::RegisterLanguageExtensionAttribute
Microsoft.VisualStudio.Shell::RegisterLoadKeyAttribute
Microsoft.VisualStudio.Shell::RegisterProjectItemAttribute
Microsoft.VisualStudio.Shell::SingleFileGeneratorSupportRegistrationAttribute
Microsoft.VisualStudio.Shell::SolutionPersistenceRegistrationAttribute
Microsoft.VisualStudio.Shell::WAProvideLanguagePropertyAttribute
Microsoft.VisualStudio.Shell::WAProvideProjectFactoryAttribute
Microsoft.VisualStudio.Shell::WAProvideProjectFactoryTemplateMappingAttribute
Microsoft.VisualStudio.Shell::WebSiteProjectAttribute
Microsoft.VisualStudio.Shell::WebSiteProjectRelatedFilesAttribute
| Name | Description | |
|---|---|---|
![]() | RegistrationAttribute() | Initializes a new instance of the class. |
| Name | Description | |
|---|---|---|
![]() | TypeId | Gets the current instance of this attribute.(Overrides Attribute::TypeId.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Attribute.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetPackageRegKeyPath(Guid) | Gets the registry path (relative to the registry root of the application) of the VSPackage. |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Register(RegistrationAttribute::RegistrationContext^) | Registers this VSPackage with a given context, when called by an external registration tool such as regpkg.exe. For more information, see Registering VSPackages. |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute::RegistrationContext^) | Called to unregister this attribute with the given context. |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Derive a registration attribute from RegistrationAttribute to create a class that makes specialized registry entries when applied to your Package-derived class or a class that implements IVsPackage.
Attribute classes that provide VSPackage registration information. Regpkg.exe or other registration tools must derive from and implement RegistrationAttribute. For more information, see Registering VSPackages.
RegistrationAttribute is an abstract attribute class that enables VSPackage developers to add registration attribute classes without needing to change the registration tools.
Attribute classes that provide registration information to regpkg.exe or other registration tools must derive from RegistrationAttribute, and must implement the Register and Unregister abstract methods.
Registration tools such as regpkg.exe must implement the classes RegistrationAttribute::Key and RegistrationAttribute::RegistrationContext.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




