C++ C#

SetAttributeByName(String^, Object^) Method

API Reference

Namespace: Semata.DataStore

Class: Item

Sets the value of an Attribute

void SetAttributeByName(String^ name, Object^ value)


Type Name Description
String^ name Name of the AttributeType
Object^ value The Value

Returns: void


Errors cause a Platform::Exception to be thrown with the following HResult and Message

HResult Message
0x4002 AttributeType does not exist
0x1201 Value is of the wrong type for this AttributeType

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.