Method GetGroupData
GetGroupData<T>(String)
Retrieves the key and value pairs of the specified group.
Declaration
IDictionary<string, T> GetGroupData<T>(string group)
Parameters
Type | Name | Description |
---|---|---|
System.String | group | Name of group whose data is to be returned. |
Returns
Type | Description |
---|---|
IDictionary<System.String, T> | A dictionary containing key-value pairs of the specified group. |
Type Parameters
Name | Description |
---|---|
T | Specifies the type of value obtained from the cache. |
Examples
The following example demonstrates how to retrieve data against group and subgroup box server control.
ICache cache = CacheManager.GetCache("myCache");
IDictionary<string,Product> keys = cache.SearchService.GetGroupData<Product>("group_name");