CommandBarComboBoxClass.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
'宣言
Public Overridable Property List ( _
Index As Integer _
) As String
public virtual string this[
int Index
] { get; set; }
Parameters
- Index
Type: System.Int32
The (0-based) index in the list.
Property Value
Type: System.String
The get accessor of this property returns the item at the (0-based) index location.
Implements
Remarks
The set accessor is deprecated, and throws a DeprecatedException.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.