CommandSetRegistrationAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Declares a class as a CommandSet and specifies the name and associated service broker service for the command set. A command set can provide commands with ProvideCommandAttribute.
public ref class CommandSetRegistrationAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public sealed class CommandSetRegistrationAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type CommandSetRegistrationAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class CommandSetRegistrationAttribute
Inherits RegistrationAttribute
- Inheritance
Constructors
CommandSetRegistrationAttribute(String, String, String, String) | |
CommandSetRegistrationAttribute(String, String, String) |
Properties
Name | |
ServiceName | |
ServiceVersion | |
SupportedScope | |
TypeId |
Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class. (Inherited from RegistrationAttribute) |
Methods
GetPackageRegKeyPath(Guid) |
Gets the registry path (relative to the registry root of the application) of the VSPackage. (Inherited from RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) | |
Unregister(RegistrationAttribute+RegistrationContext) |