ProvideGlobalObjectProviderAttribute Class
Signifies that one or more classes in a package are global object providers. This class cannot be inherited.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.ProvideGlobalObjectProviderAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideGlobalObjectProviderAttribute(Type) | Initializes a new instance of the ProvideGlobalObjectProviderAttribute class. |
| Name | Description | |
|---|---|---|
![]() | ProviderType | Gets the type of declared global object provider. |
![]() | TypeId | Gets a unique identifier associated with the attribute.(Overrides RegistrationAttribute.TypeId.) |
| 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) | Registers this attribute using the specified registry context.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Removes this attribute from the registry using the specified registry context.(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.) |
The ProvideGlobalObjectProviderAttribute is placed on a package class to declare that it contains one or more classes derived from GlobalObjectProvider. This attribute is only used for registration purposes and does not affect how code behaves when it is executed.
The managed VSPackage registration tool (RegPkg.exe) (see VSPackage Registration) uses this attribute to add registration information about the global object provider so that it is available to design-time tools. You can create the same entries programmatically by calling the Register method.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



