共用方式為


CommonModelingCommands 類別

定義域專屬語言設計工具中定義 [共用] 命令的命令的 Id。

繼承階層架構

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

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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 取得模型的 Validate Model] 命令的命令 ID。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.VisualStudio.Modeling.Shell 命名空間