C++ C#

AddAttributeType(String^, String^, String^, ValueType^) Method

API Reference

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

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.