C++ C#

SetAttribute(string, object) Method

API Reference

Namespace: Semata.DataStore

Class: Item

Sets the value of an Attribute

public void SetAttribute(string name, object value)

Parameters

Type Name Description
string name Name of the AttributeType
object value The Value

Returns: void

Exceptions

Type Description
AttributeTypeDoesNotExistException AttributeType does not exist
ValueInvalidForAttributeException 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.