SelectedItems.MultiSelect Eigenschaft

Definition

Ruft ab, ob die aktuelle Auswahl mehrere Elemente enthält.

public:
 property bool MultiSelect { bool get(); };
public:
 property bool MultiSelect { bool get(); };
[System.Runtime.InteropServices.DispId(4)]
public bool MultiSelect { [System.Runtime.InteropServices.DispId(4)] get; }
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
member this.MultiSelect : bool
Public ReadOnly Property MultiSelect As Boolean

Eigenschaftswert

Boolean

Ein boolescher Wert, der True ist, die aktuelle Auswahl mehrere Elemente enthält, andernfalls False.

Attribute

Beispiele

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  

Gilt für