ControlCollection.Count 属性

获取 ControlCollection 中控件的数目。

命名空间:  Microsoft.Office.Tools.Excel
程序集:  Microsoft.Office.Tools.Excel(在 Microsoft.Office.Tools.Excel.dll 中)

语法

声明
ReadOnly Property Count As Integer
    Get
int Count { get; }

属性值

类型:System.Int32
ControlCollection 中控件的数目。

.NET Framework 安全性

请参见

参考

ControlCollection 接口

Microsoft.Office.Tools.Excel 命名空间