AbstractStockHelperTHelperEnsureObjectObjectType Method |
Ensures the object in request items
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static ObjectType EnsureObject<ObjectType>(
string key,
bool caseSensitive = true
)
where ObjectType : new()
Parameters
- key
- Type: SystemString
Object key - caseSensitive (Optional)
- Type: SystemBoolean
If true, the object key is case sensitive, otherwise key is converted to lowercase before use
Type Parameters
- ObjectType
Return Value
Type:
ObjectTypeSee Also