Редагувати

Поділитися через


BasicDesignerLoader.IDesignerLoaderService.Reload Method

Definition

Reloads the design document.

 virtual bool System.ComponentModel.Design.Serialization.IDesignerLoaderService.Reload() = System::ComponentModel::Design::Serialization::IDesignerLoaderService::Reload;
bool IDesignerLoaderService.Reload ();
abstract member System.ComponentModel.Design.Serialization.IDesignerLoaderService.Reload : unit -> bool
override this.System.ComponentModel.Design.Serialization.IDesignerLoaderService.Reload : unit -> bool
Function Reload () As Boolean Implements IDesignerLoaderService.Reload

Returns

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

Implements

Remarks

Any object can call the IDesignerLoaderService.Reload 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 the designer at once.

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

Applies to