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: 8.2.23
Syntax
C#
public static string GetUniqueResStringKey(
	string plainText,
	string resKeyPrefix = "",
	bool returnWithPrefix = true,
	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
returnWithPrefix (Optional)
Type: SystemBoolean
Indicates whether return resource string with prefix
maxKeyLength (Optional)
Type: SystemInt32
Maximal resource string key length

Return Value

Type: String
See Also