DiagramDocView.CountAllObjects 方法

计算模型中的元素个数。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

语法

声明
Protected Overrides Function CountAllObjects As UInteger
protected override uint CountAllObjects()

返回值

类型:System.UInt32
模型中的元素的数目。

备注

此方法调用 CountObjects

.NET Framework 安全性

请参阅

参考

DiagramDocView 类

Microsoft.VisualStudio.Modeling.Shell 命名空间