Difference between revisions of "ResourceTemplatePropertySingleMulti class"
(Created page with "{{CGscriptClass_Template |Name=<nowiki>ResourceTemplatePropertySingleMulti</nowiki> |Description=<nowiki>A Single/Multi property on a resource template</nowiki> |InheritsFrom=...") |
|||
Line 25: | Line 25: | ||
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} | ||
}} | }} | ||
+ | [[Category:ResourceTemplatePropertySingleMulti]] |
Latest revision as of 10:29, 8 July 2020
ResourceTemplatePropertySingleMulti
A Single/Multi property on a resource template
Parent class
Inherits from ResourceTemplateProperty
Methods
- Empty DefaultLanguage(string isocode "Iso code to set as default") - Which Localized Name is the default
- (From ResourceTemplateProperty) Empty Delete() - Delete the property
- Dictionary GetLocalizedNames(int index "Index") - Localized Name of the option with the given index
- Empty RemoveOption(int index "Index") - Remove option with the given index
- Empty SetLocalizedNames(int index "Index", Dictionary localizedNames "Dictionary of iso and translation") - Localized Name of the option with the given index
- (From object) string ToString() - The string representation of the object.
Properties
- (From ResourceTemplateProperty) string Description { get; set; } - Get/set Description
- (From ResourceTemplateProperty) string Label { get; set; } - Get/set Label
- int NumberOfOptions { get; } - Number of options
- string ObjectTypeName { get; } - The name of the type of object.
- (From ResourceTemplateProperty) bool Required { get; set; } - Get/set Required
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.