Compartir a través de


ModelingWindowPane.SelectionCount Property

Gets the number of elements that are selected in the window pane.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaración
Public ReadOnly Property SelectionCount As Integer
    Get
public int SelectionCount { get; }
public:
virtual property int SelectionCount {
    int get () sealed;
}
abstract SelectionCount : int
override SelectionCount : int
final function get SelectionCount () : int

Property Value

Type: System.Int32
The number of elements that are selected in the window pane.

Implements

ISelectionService.SelectionCount

Remarks

By default, this method returns the count of the SelectedElements collection.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace