Click or drag to resize
AbstractStockHelperTHelperEnsureObjectObjectType Method
Ensures the object in request items

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
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: ObjectType
See Also