C++ C#

SetAttribute(AttributeType^, Object^) Method

Class: Item

Sets the value of an Attribute

public void SetAttribute(AttributeType^ attributeType, Object^ value)


Type Name Description
AttributeType^ attributeType The AttributeType
Object^ value The Value

Returns: void


Type Description
AttributeTypeInvalidForItem AttributeType is invalid for an Item of this type
ValueInvalidForAttribute Value is of the wrong type for this AttributeType