System.ComponentModel.Design.Serialization.IDesignerLoaderService.Reload Method

Reloads the design document.

Syntax

public bool Reload ()

Returns

true if the reload request is accepted, or false if the loader does not allow the reload.

Remarks

Any object can call this method to request that the loader reload the design document. If the loader supports reloading and complies with the reload, the designer loader can return true. Otherwise, it returns false, indicating that the reload will not occur. Callers cannot rely on the reload happening immediately; the designer loader can schedule this for some other time, or it can try to reload at once.

The caller can display a message to the user if the designer cannot be reloaded.

Requirements

Namespace: System.ComponentModel.Design.Serialization
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0