Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DesignerActionService.Clear Method

Releases all components from management and clears all push-model smart tag lists.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

public void Clear ()
public void Clear ()
public function Clear ()
Not applicable.

The Clear method empties the internal table used to store information about components and their push-model smart tag lists.

Caution noteCaution:

Because this method affects all components managed by the current service, and not just the current component, this method should be used judiciously. Typically, the design-time tool developer uses it when resetting a design surface. Component developers should use one of the Remove methods instead to remove individual smart tag items or lists.

A DesignerActionListsChanged event is raised for each component that was previously managed by the current service.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.