TagExtensionsRemoveTags Method (ITaggable, IEnumerableString)

ScaleOut Software NamedCache API
Removes the tags specified in the tags from the current list of tags in cachedObject.

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

public static void RemoveTags(
	this ITaggable cachedObject,
	IEnumerable<string> tags


Type: Soss.ClientITaggable
The cached object to which the tags are removed.
Type: System.Collections.GenericIEnumerableString
An enumerable list of strings representing the tags.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITaggable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

This overload allows more generality in how the list of tags are specified as compared with RemoveTags(ITaggable, String) and is useful if you happen to have the list of tags to check in a data structure other than an array of strings. Otherwise, this method operates identically as RemoveTags.

See Also