次の方法で共有


_CommandBarComboBox.List Property

Gets or sets the item in the list at the specified index.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣言
Property List ( _
    Index As Integer _
) As String
string this[
    int Index
] { get; set; }

Parameters

Property Value

Type: System.String
The get accessor of this property returns the item at the index location.

Remarks

The set accessor is deprecated, and throws a DeprecatedException.

The list is 1-based.

.NET Framework Security

See Also

Reference

_CommandBarComboBox Interface

Microsoft.VisualStudio.CommandBars Namespace