Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub Insert ( _
index As Integer, _
value As CommandID _
)
'使用
Dim instance As CommandIdCollection
Dim index As Integer
Dim value As CommandID
instance.Insert(index, value)
public void Insert(
int index,
CommandID value
)
public:
void Insert(
int index,
CommandID^ value
)
public function Insert(
index : int,
value : CommandID
)
Parameters
- index
Type: System.Int32
- value
Type: System.ComponentModel.Design.CommandID
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.