Click or drag to resize
ErrorContainer.AppendPropertyError Method (String, String, String, Boolean)
Appends the property error to an existing error for that property. Appends the lineSeparator to the existing error first.

Namespace: SD.Tools.Algorithmia.GeneralDataStructures
Assembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax
public void AppendPropertyError(
	string propertyName,
	string errorDescription,
	string lineSeparator,
	bool isSoftError
)

Parameters

propertyName
Type: System.String
Name of the property.
errorDescription
Type: System.String
The error description.
lineSeparator
Type: System.String
The line separator to append to the existing error message.
isSoftError
Type: System.Boolean
if set to true the error is considered 'soft', which means it's cleared after it's been read.
Remarks
To remove an error message for a property, call SetPropertyError with an empty string as error message. Overwrites the existing isSoftError flag value of the existing error of the property with the value specified in isSoftError
See Also