Description

Avoid string based index call on taxonomy collection because it could be localized or case -sensitive.

The following collections are checked:

  • Microsoft.SharePoint.Taxonomy.GroupCollection
  • Microsoft.SharePoint.Taxonomy.TermSetCollection
  • Microsoft.SharePoint.Taxonomy.TermCollection
  • Microsoft.SharePoint.Taxonomy.TermStoreCollection

Resolution

Consider fetching item by GUID, string comporation by collection enumeration, GetById() or GetByName() methods.

Links