Proprietà SelectedItems.MultiSelect

Ottiene un valore che indica se la selezione corrente include più elementi.

Spazio dei nomi:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Sintassi

'Dichiarazione
ReadOnly Property MultiSelect As Boolean
    Get
bool MultiSelect { get; }
property bool MultiSelect {
    bool get ();
}
abstract MultiSelect : bool
function get MultiSelect () : boolean

Valore proprietà

Tipo: System.Boolean
Valore booleano corrispondente a True se la selezione contiene più elementi e a False in caso contrario.

Esempi

Sub MultiSelectExample()
   Dim SelItems As SelectedItems

   SelItems = DTE.SelectedItems
   ' List the number of items selected.
   If SelItems.MultiSelect = True Then
      MsgBox("You have " & SelItems.Count & " items selected in Solution Explorer.")
   End If
End Sub

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SelectedItems Interfaccia

Spazio dei nomi EnvDTE