## BaseWebExtensionColl<T>.Clear method Removes all elements from the collection. ```csharp public void Clear() ``` ## Examples Shows how to add a web extension to a document. ```csharp Docum......= new Document(); // Create task pane with "MyScript" add-in...true; // If there are multiple task panes in the same docking location...