IVsProjectDesignerPage::FinishPendingValidations Method ()

 

Completes all pending validations before continuing.

Namespace:   Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly:  Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)

[DispIdAttribute(7)]
bool FinishPendingValidations()

Return Value

Type: System::Boolean

true to continue, false to cancel the action that triggered the validation.

This method provides an opportunity to finish all pending validations to user data before e.g. the active property page is changed or a shell command occurs. Delaying validations past Apply might be useful in cases where the user wishes to make a change to more than one control; validation should not occur until the focus leaves all the relevant controls because it must consider the data in all the controls.

Return to top
Show: