Namespace: Semata.DataStore
Class: Item
Sets the value of an Attribute
public void SetAttributeByName(string name, object value)
Parameters
Type | Name | Description |
string | name | Name of 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 |
0x4002 | AttributeType does not exist |
0x1201 | Value is of the wrong type for this AttributeType |