IDesignerLoaderService::Reload Method ()

 

Reloads the design document.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

bool Reload()

Return Value

Type: System::Boolean

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

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.

.NET Framework
Available since 1.1
Return to top
Show: