Counts the number of elements in the modeling window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overridable Function CountAllObjects As UInteger
'使用
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 modeling window.
Remarks
The method invokes CountObjects.
Permissions
- 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.