This documentation is archived and is not being maintained.

ICodeDomDesignerReload Interface

Provides an interface that can be used to optimize the reloading of a designer.

For a list of all members of this type, see ICodeDomDesignerReload Members.

[Visual Basic]
Public Interface ICodeDomDesignerReload
[C#]
public interface ICodeDomDesignerReload
[C++]
public __gc __interface ICodeDomDesignerReload
[JScript]
public interface ICodeDomDesignerReload

Remarks

A CodeDomProvider can implement this interface to support optimized reloading by the designer. When a designer reparses a file for display, it can use this interface to improve performance.

To support this performance optimization method, the designer can pass a CodeCompileUnit that represents the document code to the ShouldReloadDesigner method. ShouldReloadDesigner returns a value that indicates whether the code has changed and typically, whether your code should reload the designer. Otherwise, it is unnecessary to spend time reloading the designer.

Requirements

Namespace: System.ComponentModel.Design.Serialization

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Design (in System.Design.dll)

See Also

ICodeDomDesignerReload Members | System.ComponentModel.Design.Serialization Namespace

Show: