Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Gets or sets the (1-based) index of the selected item in the list.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Dichiarazione
Public Overridable Property ListIndex As Integer
Get
Set
'Utilizzo
Dim instance As CommandBarComboBoxClass
Dim value As Integer
value = instance.ListIndex
instance.ListIndex = value
public virtual int ListIndex { get; set; }
public:
virtual property int ListIndex {
int get ();
void set (int value);
}
abstract ListIndex : int with get, set
override ListIndex : int with get, set
function get ListIndex () : int
function set ListIndex (value : int)
Property Value
Type: System.Int32
The (1-based) index of the selected item in the list.
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.