共用方式為


ControlCollection.Count Property

Gets the number of controls in the ControlCollection.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
ReadOnly Property Count As Integer
int Count { get; }

Property Value

Type: System.Int32
The number of controls in the ControlCollection.

.NET Framework Security

See Also

Reference

ControlCollection Interface

Microsoft.Office.Tools.Excel Namespace