共用方式為


Term.GetIsDescendantOf 方法

指出目前Term物件是否指定Term子系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 GetIsDescendantOf ( _
    ancestorTerm As Term _
) As ClientResult(Of Boolean)
'用途
Dim instance As Term
Dim ancestorTerm As Term
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.GetIsDescendantOf(ancestorTerm)
public ClientResult<bool> GetIsDescendantOf(
    Term ancestorTerm
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
true Term從屬於指定Term; 如果否則, false

例外狀況

例外狀況 條件
ArgumentNullException

若要檢查Term是null 參考 (未執行任何動作 於 Visual Basic 中)。

請參閱

參照

Term 類別

Term 成員

Microsoft.SharePoint.Client.Taxonomy 命名空間