共用方式為


ControlCollection.Count Property

Gets the number of controls in the ControlCollection.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.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.Word Namespace