Rediger

Del via


IDesignerLoaderService.Reload Method

Definition

Reloads the design document.

public:
 bool Reload();
public bool Reload ();
abstract member Reload : unit -> bool
Public Function Reload () As Boolean

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.

Applies to