共用方式為


ControlCollection.Item Property (Int32)

Gets the control at the specified index.

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

Syntax

'Declaration
ReadOnly Default Property Item ( _
    index As Integer _
) As Object
Object this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The zero-based index of the control to get.

Property Value

Type: System.Object
The control at the specified index.

.NET Framework Security

See Also

Reference

ControlCollection Interface

Item Overload

Microsoft.Office.Tools.Excel Namespace