Bagikan melalui


ControlCollection.Remove Method (Object)

Removes the specified control from the ControlCollection instance.

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

Syntax

'Declaration
Sub Remove ( _
    control As Object _
)
void Remove(
    Object control
)

Parameters

Remarks

Controls that are added at design time cannot be removed from the ControlCollection instance. You can only use the Remove method to remove controls added at run time.

.NET Framework Security

See Also

Reference

ControlCollection Interface

Remove Overload

Microsoft.Office.Tools.Excel Namespace