Checks value agains parameters set for the attribute. ex. MinValue, MaxValue specified for integer attribute. Then passed value is within range of MinValue and MaxValue.

Namespace: Novalys.VisualGuard.Security.CommonProfileAttribute
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)

Syntax

C#
public abstract bool CheckValue(
	T value,
	out Exception ex
)
Visual Basic
Public MustOverride Function CheckValue ( 
	value As T,
	<OutAttribute> ByRef ex As Exception
) As Boolean

Parameters

value
Type: T
ex
Type: System..::..Exception%
Exception object

Return Value

Type: Boolean
true if attribute value supports all criterias specified for it, else returns false.

See Also