Returns the resource key associated with the given resource value in the default culture. Returns null if no match was found.

Syntax

Smartsite SXML CopyCode image Copy Code
string locale.getkey(string text)

Parameters

Name Data Type Description
text String A resource value in the default localization culture.

Return Value

Data Type Description
String The resource key associated with the given resource value.

Expand image Example

SXML