Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of elements in the current selection.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Protected Overridable Function CountSelectedObjects As UInteger
protected virtual uint CountSelectedObjects()
protected:
virtual unsigned int CountSelectedObjects()
abstract CountSelectedObjects : unit -> uint32
override CountSelectedObjects : unit -> uint32
protected function CountSelectedObjects() : uint
Return Value
Type: System.UInt32
The number of elements in the current selection.
Remarks
By default, this method returns the count of the SelectedElements collection.
.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.