public TermSetLookup(TaxonomyField taxonomyField, TermSet termSet) { this.taxonomyField = taxonomyField; this.terms = termSet.GetAllTerms(); Program.clientContext.Load(this.terms, termsArg => termsArg.Include( termArg => termArg.Id, termArg => termArg.Name ) ); }