Namespace: Semata.DataStore
Class: ItemType
Creates as AttributeType
public AttributeType AddAttributeType(string name, string description, string annotation, ValueType type)
Parameters
| Type | Name | Description |
| string | name | Name of the AttributeType |
| string | description | Description of the AttributeType |
| string | annotation | Annotation of the AttributeType |
| ValueType | type | The ValueType |
Returns: AttributeType
Errors
Errors cause a Platform::Exception to be thrown with the following HResult and Message
| HResult | Message |
| 0x3905 | AssociationType with this name exists |
| 0x3904 | AttributeType with this name exists |