IVsProjectDesignerPage.FinishPendingValidations Method
Completes all pending validations before continuing.
Namespace: Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly: Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)
Syntax
'Declaração
Function FinishPendingValidations As Boolean
bool FinishPendingValidations()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsProjectDesignerPage Interface
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace