Extensions.DataType.EnumerationGetEntryList

From emotive
Revision as of 07:04, 18 November 2016 by Nb (talk | contribs) (Add EnumerationGetEntryList page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name EnumerationGetEntryList
Short Description Returns a List of String of the names in a specified enumeration
Class Term
Extension OTX DataTypes extension
Group EnumerationGetEntryList related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

DataTypes.EnumerationGetEntryList(EnumerationSignature);

Description

EnumerationGetEntryList is a term that returns a List of String of the names in a specified enumeration.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List Returns a List of String of the names in a specified enumeration.

Properties

Name Data Type Class Default Cardinality Description
Enumeration OtxLink - - [1] This attribute identifies the specified enumeration to get the entry list. The link shall point to the corresponding EnumerationSignature.

OTL Examples

package DataTypes.EnumerationSignature EnumerationSignature1(Integer EnumerationElement1 = 7, Integer EnumerationElement2 = 12);
public procedure main()
{
   List<String> entryList;

   entryList = DataTypes.EnumerationGetEntryList(EnumerationSignature1);
}

See also

EnumerationContainsName
EnumerationContainsValue
GetEnumerationByName
GetEnumerationByValue
StructureCopy