Initializes a new instance of the ProvideCommandLineSwitchAttribute class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
name As String, _
helpText As String _
)
'使用
Dim name As String
Dim helpText As String
Dim instance As New ProvideCommandLineSwitchAttribute(name, helpText)
public ProvideCommandLineSwitchAttribute(
string name,
string helpText
)
public:
ProvideCommandLineSwitchAttribute(
String^ name,
String^ helpText
)
public function ProvideCommandLineSwitchAttribute(
name : String,
helpText : String
)
Parameters
name
Type: System.StringThe name of the command-line switch.
helpText
Type: System.StringThe help text for the command-line switch.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideCommandLineSwitchAttribute Class