Click or drag to resize
LocalizationHelperGetUniqueResStringKey Method
Returns unique resource string key from given plain text.

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 10.0.0
Syntax
C#
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: String
See Also