Udostępnij za pośrednictwem


ControlCollection.Remove Method (Object)

Removes the specified control from the ControlCollection instance.

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

Syntax

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

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

ControlCollection Interface

Remove Overload

Microsoft.Office.Tools.Word Namespace