ProvideCommandLineSwitchAttribute 建構函式
初始化 ProvideCommandLineSwitchAttribute 類別的新執行個體。
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
語法
'宣告
Public Sub New ( _
name As String, _
helpText As String _
)
public ProvideCommandLineSwitchAttribute(
string name,
string helpText
)
參數
- name
型別:System.String
命令列參數的名稱。
- helpText
型別:System.String
在指令行參數的 [說明] 文字。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。