Freigeben über


DiagramDocView.CountAllObjects Method

Counts the number of elements that are in the model.

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 Overrides Function CountAllObjects As UInteger
protected override uint CountAllObjects()
protected:
virtual unsigned int CountAllObjects() override
abstract CountAllObjects : unit -> uint32 
override CountAllObjects : unit -> uint32 
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

Microsoft.VisualStudio.Modeling.Shell Namespace