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
- 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.