ValidationErrorCollectionAddError Method |
Adds a new
ValidationError to the collection with the specified error text.
Namespace: Kjs.AppLife.Update.Engine.Core.DesignAssembly: Kjs.AppLife.Update.Engine.Core.Design (in Kjs.AppLife.Update.Engine.Core.Design.dll) Version: 1.0.0.12 (4.0.0.0)
Syntaxpublic ValidationError AddError(
string errorText
)
Public Function AddError (
errorText As String
) As ValidationError
public:
ValidationError^ AddError(
String^ errorText
)
member AddError :
errorText : string -> ValidationError
Parameters
- errorText
- Type: SystemString
Text to use for the ValidationError.
Return Value
Type:
ValidationErrorThe new
ValidationError.
See Also