次の方法で共有


ProvideAppCommandLineAttribute(String, Type) Constructor

Definition

Constructor

public:
 ProvideAppCommandLineAttribute(System::String ^ name, Type ^ packageType);
public:
 ProvideAppCommandLineAttribute(Platform::String ^ name, Platform::Type ^ packageType);
public ProvideAppCommandLineAttribute (string name, Type packageType);
new Microsoft.VisualStudio.Shell.ProvideAppCommandLineAttribute : string * Type -> Microsoft.VisualStudio.Shell.ProvideAppCommandLineAttribute
Public Sub New (name As String, packageType As Type)

Parameters

name
String

Name of new command line option

packageType
Type

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.

Applies to