NamedCacheGetAllTags Method

ScaleOut Software NamedCache API
Returns an enumeration of all tags known within this NamedCache.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version:

public IEnumerable<string> GetAllTags()

Return Value

Type: IEnumerableString
An enumeration of the all tag strings associated with any object stored within this NamedCache.

To utilize Tags, an object must implement the interface ITaggable. Once ITaggable is implemented, the suite of extension methods found in TagExtensions is then available for manipulating tags. In particular, you can add or remove tags from individual objects and test whether an object holds one or more tags. The tag test methods, HasAllTags(ITaggable, String), HasAnyTag(ITaggable, String), and HasTags(ITaggable, IEnumerableString, IEnumerableString) are available for testing memory-resident objects for tags and may also be used when querying objects via QueryObjectsT and QueryKeysT.

When a tag is added to any object within a NamedCache the tag is added to a distributed list of Tags scoped by a single NamedCache. This method enumerates that list.

See Also