Share via


DiagramDocView.CountAllObjects Method

Counts the number of elements that are in the model.

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

Syntax

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

returnValue = Me.CountAllObjects()
protected override uint CountAllObjects()
protected:
virtual unsigned int CountAllObjects() override
protected override function CountAllObjects() : uint

Return Value

Type: System.UInt32
The number of elements that are in the model.

Remarks

This method invokes CountObjects.

.NET Framework Security

See Also

Reference

DiagramDocView Class

DiagramDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace