LocalizationHelperGetUniqueResStringKey Method |
Returns unique resource string key from given plain text.
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 12.0.0
Syntax public static string GetUniqueResStringKey(
string plainText,
string resKeyPrefix = "",
int maxKeyLength = 50
)
Parameters
- plainText
- Type: SystemString
Plain text from which the string should be generated - resKeyPrefix (Optional)
- Type: SystemString
Prefix of the resource string that should be used - maxKeyLength (Optional)
- Type: SystemInt32
Maximal resource string key length. Length of the resource string key is limited to 50 chars.
Return Value
Type:
StringSee Also