ProvideAppCommandLineAttribute Class
Definition
Adds a command line switch to the devenv executable for a specific package type.
public ref class ProvideAppCommandLineAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideAppCommandLineAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideAppCommandLineAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideAppCommandLineAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ProvideAppCommandLineAttribute
Inherits RegistrationAttribute
- Inheritance
- Attributes
Constructors
ProvideAppCommandLineAttribute(String, Type) |
Initializes a new instance of the ProvideAppCommandLineAttribute class. |
Properties
Arguments |
Gets the default arguments for the command line. |
DemandLoad |
Determines whether the package should be demand loaded. |
HelpString |
Gets a help string to show for the command. The value of this property can be a resource ID. |
Name |
Gets the name of the command line. |
PackageGuid |
Gets the GUID of the package providing the command line. |
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) |
Registers this attribute with the given context. |
Unregister(RegistrationAttribute+RegistrationContext) |
Unregisters this attribute. |