Validate the data entered by the user in the OptionsUI

Namespace:  JHSoftware.SimpleDNS.Plugin
Assembly:  sdnsplugin (in sdnsplugin)
Version: 5.0.110.0 (5.0.110.0)

Syntax

C#
public virtual bool ValidateData()
Visual Basic (Declaration)
Public Overridable Function ValidateData As Boolean
Visual C++
public:
virtual bool ValidateData()

Return Value

True if the data entered is valid, otherwise False.

Remarks

Simple DNS Plus calls this method when the user clicks the OK button in the Plug-In Instance dialog. If the entered data is invalid (method returning False), you should show a message box explaining the problem.

See Also