CommandIdCollection.Add Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Function Add ( _
    value As CommandID _
) As Integer
'使用
Dim instance As CommandIdCollection
Dim value As CommandID
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add(
    CommandID value
)
public:
int Add(
    CommandID^ value
)
public function Add(
    value : CommandID
) : int

Parameters

Return Value

Type: System.Int32

Permissions

See Also

Reference

CommandIdCollection Class

CommandIdCollection Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace