ControlCollection.Clear Method (2007 System)

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As ControlCollection

instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()

Exceptions

Exception Condition
NotSupportedException

In all cases.

Remarks

This method is not supported by the ControlCollection class. To remove a control, use the Remove or RemoveAt method.

.NET Framework Security

See Also

Reference

ControlCollection Class

ControlCollection Members

Microsoft.Office.Tools.Word Namespace