Gets the object by its name and site name using the cache.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- name
- Type:
System String
Name of the object
- siteName
- Type:
System String
Site name
- handler
- Type: CMS.DataEngine DataCacheHelper GetEventHandler2 BaseInfo,
String,
String
Handler to retrieve the object from the database
- key
- Type:
System String
Cache key to use
- cacheMinutes
- Type:
System Int32
Cache minutes
- requestCache
- Type:
System Boolean
Use request cache
- dependencyCallback
- Type: CMS.DataEngine DataCacheHelper GetCacheDependencyEventHandler BaseInfo
Callback to get the cache dependency for the object
- context
- Type:
System String
Context string
Return Value
Type: BaseInfoSee Also