Share via


ModelingWindowPane.CountAllObjects Method

Gets the number of elements in the window pane.

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

Syntax

'Declaration
Protected Overridable Function CountAllObjects As UInteger
'Usage
Dim returnValue As UInteger 

returnValue = Me.CountAllObjects()
protected virtual uint CountAllObjects()
protected:
virtual unsigned int CountAllObjects()
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

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace