AbstractStockHelperTHelperEnsureObjectObjectType Method |
Ensures the object in request items
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.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
Type Parameters
- ObjectType
Return Value
Type:
ObjectTypeSee Also