Method SetItemSetItem(string, CacheItem)Sets a cache item. Declaration public void SetItem(string key, CacheItem item) Parameters Type Name Description string key The key of the cache item. CacheItem item The cache item.