C++ C#

AddError(string, string) Method

API Reference

Namespace: Semata.DataStore.ObjectModel

Class: ItemObject

Adds a validation error for a specified property or for the entire object.

public void AddError(string propertyName, string error)


Type Name Description
string propertyName The name of the property to retrieve validation errors for; or null or Empty, to retrieve object level errors.
string error The text of the error message.

Returns: void

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.