共用方式為


VsValidationController.ClearMessages Method

Clears all validation messages

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣告
Public Overrides Sub ClearMessages
public override void ClearMessages()
public:
virtual void ClearMessages() override
abstract ClearMessages : unit -> unit 
override ClearMessages : unit -> unit 
public override function ClearMessages()

.NET Framework Security

See Also

Reference

VsValidationController Class

Microsoft.VisualStudio.Modeling.Shell Namespace