Επεξεργασία

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


CodeDomDesignerLoader.IsReloadNeeded Method

Definition

Returns a value indicating whether a reload is required.

protected:
 override bool IsReloadNeeded();
protected override bool IsReloadNeeded ();
override this.IsReloadNeeded : unit -> bool
Protected Overrides Function IsReloadNeeded () As Boolean

Returns

true if the CodeDomProvider decides a reload is required; otherwise, false.

Exceptions

The language did not provide a code parser for this file; this file type may not support a designer.

The class can be designed, but it is not the first class in the file, or the designer could not be shown for this file because none of the classes within it can be designed.

Remarks

The IsReloadNeeded method checks for the presence of the ICodeDomDesignerReload interface on the CodeDomProvider. The provider will reparse the CodeDOM tree and pass the resulting parse tree to the ShouldReloadDesigner method. If this method returns false, the designer will not be reloaded.

Applies to