返回一个包含平面TermSet对象中的所有Term对象的列表的集合。
命名空间: Microsoft.SharePoint.Client.Taxonomy
程序集: Microsoft.SharePoint.Client.Taxonomy.Silverlight(位于 Microsoft.SharePoint.Client.Taxonomy.Silverlight.dll 中); Microsoft.SharePoint.Client.Taxonomy.Phone(位于 Microsoft.SharePoint.Client.Taxonomy.Phone.dll 中) Microsoft.SharePoint.Client.Taxonomy(位于 Microsoft.SharePoint.Client.Taxonomy.dll 中)
语法
声明
Public Function GetAllTerms As TermCollection
用法
Dim instance As TermSet
Dim returnValue As TermCollection
returnValue = instance.GetAllTerms()
public TermCollection GetAllTerms()
返回值
类型:Microsoft.SharePoint.Client.Taxonomy.TermCollection
包含简单TermSet中的所有Term对象的列表的集合
备注
如果您需要执行批量操作TermSet中的所有Term对象,并且您想要避免查看层次结构,请使用此方法。没有任何特定顺序对Term对象集合中。集合包括弃用的Term对象。以遍历Term层次结构,请改为使用Terms属性。