C++ C#

AttributeProperty(ItemObject^, String^, String^, bool, bool, Func<object, object>^, Func<object, object>^) Method

API Reference

Namespace: Semata.DataStore.ObjectModel

Class: AttributeProperty<V>

Constructs a new instance of AttributeProperty

public:
^ AttributeProperty(ItemObject^ itemObject, String^ attributeTypeName, String^ propertyName, bool required, bool unique, Func<object, object>^ onChanged, Func<object, object>^ onWriting)

Parameters

Type Name Description
ItemObject^ itemObject The ItemObject of which this is a property
String^ attributeTypeName The name of the AttributeType from which this property was derived
String^ propertyName Name of the property as it appears on the ItemObject
bool required If true, value cannot be null
bool unique If true, a non-null value needs to be unique
Func<object, object>^ onChanged delegate that takes the value being set, after it has been converted, and returns a value
Func<object, object>^ onWriting delegate that takes the value being written, prior to it being written, and returns a value

Returns: MISSING PAGE

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.