Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.