Click or drag to resize
AbstractStockHelperTHelperContains Method (String, Boolean)
Check if stock contain item.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static bool Contains(
	string key,
	bool caseSensitive = false
)

Parameters

key
Type: SystemString
Object key
caseSensitive (Optional)
Type: SystemBoolean
If true, the key is case sensitive, otherwise key is converted to lowercase before use

Return Value

Type: Boolean
See Also