Method GetGroupKeys
GetGroupKeys(String)
Retrieves the keys of the items in the specified group.
Declaration
ICollection<string> GetGroupKeys(string group)
Parameters
Type | Name | Description |
---|---|---|
System.String | group | Name of group whose keys are to be returned. |
Returns
Type | Description |
---|---|
ICollection<System.String> | The list of keys of the group. |
Examples
The following example demonstrates how to retrieve key list against group.
ICache cache = CacheManager.GetCache("demoCache");
ICollection<string> keys = cache.SearchService.GetGroupKeys("group_name");