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
Exceptions
Type | Description |
AttributeTypeInvalidForItemException | AttributeType is invalid for an Item of this type |
ValueInvalidForAttributeException | Value is of the wrong type for this AttributeType |