共用方式為


CommandIdCollection.Add Method

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

Syntax

'宣告
Public Function Add ( _
    value As CommandID _
) As Integer
public int Add(
    CommandID value
)
public:
int Add(
    CommandID^ value
)
member Add : 
        value:CommandID -> int 
public function Add(
    value : CommandID
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

CommandIdCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace