_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
'Dichiarazione
Property List ( _
Index As Integer _
) As String
Get
Set
'Utilizzo
Dim instance As _CommandBarComboBox
Dim Index As Integer
Dim value As String
value = instance.List(Index)
instance.List(Index) = value
string this[
int Index
] { get; set; }
property String^ List[[InAttribute] int Index] {
String^ get ([InAttribute] int Index);
void set ([InAttribute] int Index, String^ value);
}
abstract List : string with get, set
JScript does not support indexed properties.
Parameters
- Index
Type: System.Int32
The index in the list.
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
- 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.