A standard property stores a single unit of data; a multi-language property stores one unit of data per data language defined in the Metadata Languages Modell Sprachen.
Usage
Call ClassBuilder.Add.MultiLanguageProperty(...)
on a ClassBuilder
in a Builder API to add a multi-language property to that class.
Code Block |
---|
Elements.Person.Add.MultiLanguageProperty("Notes");
|
The default type of the property is MetaType.Text
, but you can make multi-language properties for any type.
Code Block |
---|
Elements.Person.Add.MultiLanguageProperty("Attachment", MetaType.Binary);
|
Structure
Adding a multi-language property includes the following properties in the class:
A calculated property with the original name (e.g. "Notes" above) that returns the value of the language-specific property for the current the current language
A property for each data language in the model
...