CorrectableMessageAddCorrection Method (String, Int32, FuncBoolean) |
Adds a new correction with the parameter specified and the correction func specified. If correctionFunc is not null, this message has to have
CorrectionsAreChoices set to true
Namespace:
SD.LLBLGen.Pro.ApplicationCore.MessageReporting
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax public CorrectableMessage AddCorrection(
string description,
int sortOrder,
Func<bool> correctionFunc
)
Public Function AddCorrection (
description As String,
sortOrder As Integer,
correctionFunc As Func(Of Boolean)
) As CorrectableMessage
Parameters
- description
- Type: SystemString
The description. - sortOrder
- Type: SystemInt32
The sort order. - correctionFunc
- Type: SystemFuncBoolean
The correction func.
Return Value
Type:
CorrectableMessagethis instance
See Also