ProvideExtenderAttribute Class
Provides an extender for Visual Studio. This class cannot be inherited.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.ProvideExtenderAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideExtenderAttribute(String, String, String) | Initializes a new instance of ProvideExtenderAttribute for the specified extender. |
| Name | Description | |
|---|---|---|
![]() | ExtendeeCatId | Gets the GUID category ID of the element to be extended. |
![]() | Extender | Gets the GUID of the extender. |
![]() | ExtenderName | Gets the name of the extender. |
![]() | TypeId | Gets the current instance of this attribute.(Inherited from RegistrationAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | Register(RegistrationAttribute.RegistrationContext) | Provides registration information about a VSPackage when called by an external registration tool such as RegPkg.exe.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Removes registration information about a VSPackage when called by an external registration tool such as RegPkg.exe.(Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).) |
| 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.) |
This attribute provides an extender (an object that implements IExtenderProvider) with Visual Studio. To use ProvideExtenderAttribute, place it on a class that inherits from Package or implements IVsPackage.
This attribute class is used only to provide data for external registration tools. It does not have any effect on the runtime behavior of the VSPackage.
Note |
|---|
C# automatically appends the word "Attribute" to the name of any attribute class. In C# code, refer to this attribute as ProvideExtender. |
Note |
|---|
The GUIDs for the Visual C# and Visual Basic project types are {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} and {F184B08F-C81C-45F6-A57F-5ABD9991F28F}, respectively. |
Apply ProvideExtenderAttribute when your VSPackage implements a static extender.
The following registry entries are created by ProvideExtenderAttribute:
<VSROOT>\Extenders\{CATID}\EditorName\
<VSROOT>\Extenders\{CATID}\EditorName\@={ExtenderGuid}
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




