C++ C#

SetAttribute(String^, Object^) Method

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
AttributeTypeDoesNotExist AttributeType does not exist
ValueInvalidForAttribute Value is of the wrong type for this AttributeType