本文介绍了分类领域.不包含GetWssIdsOfTerm的定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用CSOM,基本上想在带有托管元数据列的列表中进行搜索.我试图遍历我的术语库以获取术语的wssid,以过滤父母术语和子术语的结果.但是当我尝试实现这一点时

I am using CSOM and basically want to search through a list with managed meta data column. I am trying to traverse through my term store for wssid of the terms for filtering parents terms and child terms results. But when i try to achive  this

        int[] wssIds = TaxonomyField.GetWssIdsOfTerm(site, term.TermStore.Id, term.TermSet.Id, term.Id, false /*includeDescendants*/, 500);

给我TaxonomyField错误.不包含GetWssIdsOfTerm的定义.我在我的C#中已包含  Microsoft.SharePoint.Client.Taxonomy作为参考,但是仍然出现此错误.我正在使用Visual Studio 2012进行开发.

 gives me error that TaxonomyField. does not contain a definition of GetWssIdsOfTerm . I have included the  Microsoft.SharePoint.Client.Taxonomy as reference in my C# but still this error.  I am using Visual studio 2012 for development. 

这可能是dll版本问题吗?我错过了什么吗?

Can it be a dll version issue ? Am I missing some thing ?

任何见解都会有很大帮助.

Any insight will help a lot.

谢谢

推荐答案

        int[] wssIds = TaxonomyField.GetWssIdsOfTerm(site, term.TermStore.Id, term.TermSet.Id, term.Id, false /*includeDescendants*/, 500);

给我有关TaxonomyField的错误.不包含GetWssIdsOfTerm的定义.我在我的C#中已包含  Microsoft.SharePoint.Client.Taxonomy作为参考,但是仍然出现此错误.我正在使用Visual Studio 2012进行开发.

 gives me error that TaxonomyField. does not contain a definition of GetWssIdsOfTerm . I have included the  Microsoft.SharePoint.Client.Taxonomy as reference in my C# but still this error.  I am using Visual studio 2012 for development. 

可以是dll版本问题吗?我错过了什么吗?

Can it be a dll version issue ? Am I missing some thing ?

任何见解都会有很大帮助.

Any insight will help a lot.

谢谢


这篇关于分类领域.不包含GetWssIdsOfTerm的定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 04:25