IVsProjectDesignerPage.FinishPendingValidations Method

Completes all pending validations before continuing.

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

Syntax

'Declaration
Function FinishPendingValidations As Boolean
bool FinishPendingValidations()
bool FinishPendingValidations()
abstract FinishPendingValidations : unit -> bool
function FinishPendingValidations() : boolean

Return Value

Type: System.Boolean
true to continue, false to cancel the action that triggered the validation.

Remarks

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.

.NET Framework Security

See Also

Reference

IVsProjectDesignerPage Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace