Determines whether this instance is valid, according to its Validators. (Only available if GetValidators()()()() has been called.)

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public bool IsValid(
	out string displayMessage
)
Visual Basic
Public Function IsValid ( _
	<OutAttribute> ByRef displayMessage As String _
) As Boolean

Parameters

displayMessage
Type: System..::..String%
The display message, if not valid; otherwise, an empty string.

Return Value

trueTruetruetrue (True in Visual Basic) if this instance is valid; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

The Validators will not be automatically evaluated until the data is committed, but IsValid(String%) can be used to test the current value.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 SU 7 and beyond.

See Also