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
'Declaração
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
- 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.