Gets the number of elements that are selected in the modeling window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public ReadOnly Property SelectionCount As Integer
'使用
Dim instance As ModelingWindowPane
Dim value As Integer
value = instance.SelectionCount
public int SelectionCount { get; }
public:
virtual property int SelectionCount {
int get () sealed;
}
public final function get SelectionCount () : int
Property Value
Type: System.Int32
The number of elements that are selected in the modeling window.
Implements
ISelectionService.SelectionCount
Permissions
- 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.