Επεξεργασία

Κοινή χρήση μέσω


BasicDesignerLoader.IsReloadNeeded Method

Definition

Indicates whether the designer should be reloaded.

protected:
 virtual bool IsReloadNeeded();
protected virtual bool IsReloadNeeded ();
abstract member IsReloadNeeded : unit -> bool
override this.IsReloadNeeded : unit -> bool
Protected Overridable Function IsReloadNeeded () As Boolean

Returns

true if the designer should be reloaded; otherwise, false. The default implementation always returns true.

Remarks

The IsReloadNeeded method is used by some designer loaders to optimize reloading. This method can be overridden if your designer loader supports intelligent reloading. Some designer loaders can detect changes made to their underlying document and determine if a reload of the designer is actually necessary. If not, they should return false from this method. The default implementation always returns true, indicating that any call to Reload will succeed.

Applies to