TermSet.GetAllTerms 方法
傳回包含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屬性。