Share via


IVsProjectDesignerPage.FinishPendingValidations Method

Completes all pending validations before continuing.

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

Syntax

‘선언
Function FinishPendingValidations As Boolean
‘사용 방법
Dim instance As IVsProjectDesignerPage
Dim returnValue As Boolean

returnValue = instance.FinishPendingValidations()
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

IVsProjectDesignerPage Members

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace