Extensions.DataType.GetResourceLocationId
(Redirected from Extensions.DataTypes.GetResourceLocationId)
Jump to navigation
Jump to search
Contents
Classification
Name | GetResourceLocationId |
Short Description | Return the ID of the given ResourceLocation |
Class | Term |
Extension | OTX DataType extension |
Group | DataType related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm DataType.GetResourceLocationId(ResourceLocationTerm location)
Description
The GetResourceLocationId term will return the ID of the given ResourceLocation.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Return the ID of the given ResourceLocation. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Location | ResourceLocation | Term | - | [1..1] | Represents the ResourceLocation value on which ID will be returned. |
OTL Examples
/// Local Declarations
DataType.ResourceLocation ResourceLocation1;
/// Flow
ResourceLocation1 = DataType.CreateResourceLocation("OtfMapping");
String1 = DataType.GetResourceLocationId(ResourceLocation1);
See also
EnumerationContainsName
EnumerationContainsValue
EnumerationGetEntryList
GetEnumerationByName
GetEnumerationByValue
CreateResourceLocation
GetResourceLocationId
IsResourceLocationMapped
StructureCopy
StructureCreate