共用方式為


CommandIdCollection.Item Property

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

Syntax

'宣告
Public Default Property Item ( _
    index As Integer _
) As CommandID
    Get
    Set
public CommandID this[
    int index
] { get; set; }
public:
property CommandID^ default[int index] {
    CommandID^ get (int index);
    void set (int index, CommandID^ value);
}
member Item : CommandID with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: System.ComponentModel.Design.CommandID

.NET Framework Security

See Also

Reference

CommandIdCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace