C++ C#

SetAttribute(string, object) Method

Class: Item

Sets the value of an Attribute

public void SetAttribute(string name, object value)


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

Returns: void


Type Description
AttributeTypeDoesNotExist AttributeType does not exist
ValueInvalidForAttribute Value is of the wrong type for this AttributeType