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)

Parameters

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.