ModelingWindowPane.CountAllObjects Method
Gets the number of elements 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
'Declaração
Protected Overridable Function CountAllObjects As UInteger
protected virtual uint CountAllObjects()
protected:
virtual unsigned int CountAllObjects()
abstract CountAllObjects : unit -> uint32
override CountAllObjects : unit -> uint32
protected function CountAllObjects() : uint
Return Value
Type: System.UInt32
The number of elements in the window pane.
Remarks
By default, this method calls CountSelectedObjects, which 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.