TermSetCollection class

Represents a collection of TermSet objects.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class TermSetCollection : TaxonomyItemCollection<TermSet>

This class provides standard support for the IEnumerator interface and ICollection object and an integer indexer through the GenericCollection base class. Additionally, it provides a string indexer based on the Name property and a GUID indexer based on the Id() property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.