Share via


ValidationController.ClearMessages Method

Removes all messages from the controller.

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

Syntax

'Declaration
Public Overridable Sub ClearMessages
'Usage
Dim instance As ValidationController

instance.ClearMessages()
public virtual void ClearMessages()
public:
virtual void ClearMessages()
public function ClearMessages()

Remarks

After this method is called, the collection of messages for the controller should be empty.

.NET Framework Security

See Also

Reference

ValidationController Class

ValidationController Members

Microsoft.VisualStudio.Modeling.Validation Namespace