共用方式為


ControlCollection.Capacity Property

Gets or sets the number of controls that the ControlCollection can contain.

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

Syntax

'Declaration
Property Capacity As Integer
int Capacity { get; set; }

Property Value

Type: System.Int32
The number of controls that the ControlCollection can contain.

.NET Framework Security

See Also

Reference

ControlCollection Interface

Microsoft.Office.Tools.Word Namespace