共用方式為


CommonModelingCommands 類別

定義特定領域語言設計工具之共用命令的命令 ID。

繼承階層架構

System.Object
  Microsoft.VisualStudio.Modeling.Shell.CommonModelingCommands

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

語法

'宣告
Public NotInheritable Class CommonModelingCommands
public static class CommonModelingCommands

CommonModelingCommands 類型會公開下列成員。

欄位

  名稱 描述
公用欄位靜態成員 CompartmentItemAdd 取得區間清單的 [加入清單項目] 命令的命令 ID。
公用欄位靜態成員 CompartmentItemEdit 取得區間清單的 [編輯] 命令的命令 ID。
公用欄位靜態成員 CompartmentShapeAddItem 取得區間圖案的 [加入項目] 命令的命令 ID。
公用欄位靜態成員 CompartmentShapeExpandCollapse 取得區間圖案的 [展開/摺疊] 命令的命令 ID。
公用欄位靜態成員 ModelExplorerAddModelElement 取得模型總管的 [加入模型項目] 命令的命令 ID。
公用欄位靜態成員 ModelExplorerDeleteAll 取得模型總管的 [全部刪除] 命令的命令 ID。
公用欄位靜態成員 PageSetup 取得 [版面設定] 命令的命令 ID。
公用欄位靜態成員 Print 取得 [列印] 命令的命令 ID。
公用欄位靜態成員 PrintPreview 取得 [預覽列印] 命令的命令 ID。
公用欄位靜態成員 Properties 取得 [屬性] 命令的命令 ID。
公用欄位靜態成員 RerouteLine 取得 [重設路徑] 命令的命令 ID。
公用欄位靜態成員 ResetDecoratorLocation 取得 [重新設定位置] 命令的命令 ID。
公用欄位靜態成員 ResetDecoratorSize 取得 [重新設定大小] 命令的命令 ID。
公用欄位靜態成員 SwimlaneAddAfter 取得泳道標頭的 [之後加入] 命令的命令 ID。
公用欄位靜態成員 SwimlaneAddBefore 取得泳道標頭的 [之前加入] 命令的命令 ID。
公用欄位靜態成員 Validate 針對模型中的項目,取得 [驗證] 命令的命令 ID。
公用欄位靜態成員 ValidateModel 取得模型的 [驗證模型] 命令的命令 ID。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Modeling.Shell 命名空間