CommandIdCollection.Item Property

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

Syntax

'宣言
Public Default Property Item ( _
    index As Integer _
) As CommandID
'使用
Dim instance As CommandIdCollection
Dim index As Integer
Dim value As CommandID

value = instance(index)

instance(index) = value
public CommandID this[
    int index
] { get; set; }
public:
property CommandID^ default[int index] {
    CommandID^ get (int index);
    void set (int index, CommandID^ value);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: System.ComponentModel.Design.CommandID

Permissions

See Also

Reference

CommandIdCollection Class

CommandIdCollection Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace