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

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

Parameters

storageKey
Type: SystemString
Storage key
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