'Declaration
Public Function SetError( _ ByVal title As String, _ ByVal text As String, _ Optional ByVal style As DataValidationErrorStyle, _ Optional ByVal show As Boolean _ ) As DataValidation
'Usage
Dim instance As DataValidation Dim title As String Dim text As String Dim style As DataValidationErrorStyle Dim show As Boolean Dim value As DataValidation value = instance.SetError(title, text, style, show)
public DataValidation SetError( string title, string text, DataValidationErrorStyle style, bool show )
Parameters
- title
- The error message's title.
- text
- The error message's text.
- style
- The DataValidationErrorStyle.
- show
- When set to true, the error message will be displayed when the user enters invalid data.