Namespace: Semata.DataStore
Class: Item
Sets the value of an Attribute
public: void SetAttribute(AttributeType^ attributeType, Object^ value)
Parameters
Type | Name | Description |
AttributeType^ | attributeType | The AttributeType |
Object^ | value | The Value |
Returns: void
Errors
Errors cause a Platform::Exception to be thrown with the following HResult and Message
HResult | Message |
0x1200 | AttributeType is invalid for an Item of this type |
0x1201 | Value is of the wrong type for this AttributeType |