ProvideAppCommandLineAttribute Class

Definition

This attribute adds a commandline option to devenv for a specfic package type. For Example: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\AppCommandLine\MyAppCommand "Arguments"="*" "DemandLoad"=dword:1 "Package"="{5C48C732-5C7F-40f0-87A7-05C4F15BC8C3}" "HelpString"="#200"

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
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideAppCommandLineAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideAppCommandLineAttribute
Inherits RegistrationAttribute
Inheritance
ProvideAppCommandLineAttribute
Attributes

Constructors

ProvideAppCommandLineAttribute(String, Type)

Constructor

Properties

Arguments

Default arguments for the command line

DemandLoad

Should the package be demand loaded.

HelpString

Help string to show for the command. Can be a resource id

Name

Name of the command line

PackageGuid

Guid of the package providing the command line

TypeId

Gets the current instance of this attribute.

(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)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. it also contains such as the type being registered, and path information.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister this App command line

Applies to