Share via


ProvideAppCommandLineAttribute Constructor

Initializes a new instance of the ProvideAppCommandLineAttribute class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    packageType As Type _
)
public ProvideAppCommandLineAttribute(
    string name,
    Type packageType
)
public:
ProvideAppCommandLineAttribute(
    String^ name, 
    Type^ packageType
)
new : 
        name:string * 
        packageType:Type -> ProvideAppCommandLineAttribute
public function ProvideAppCommandLineAttribute(
    name : String, 
    packageType : Type
)

Parameters

  • name
    Type: String

    The name of the new command line option.

  • packageType
    Type: Type

    The package type.

Remarks

This constructor can also take the following named parameters:

  • Arguments
    The number of arguments for the switch. Can be “*”, or a list of arguments.

  • DemandLoad
    Load the VSPackage automatically if this is set to 1, otherwise set to 0.

  • HelpString
    The help string or resource ID of the string to display with devenv /?.

  • Name
    The switch.

  • PackageGuid
    The GUID of the package.

.NET Framework Security

See Also

Reference

ProvideAppCommandLineAttribute Class

Microsoft.VisualStudio.Shell Namespace