Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the current Term object is a descendent Term of the specified Term.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Function GetIsDescendantOf ( _
ancestorTerm As Term _
) As Boolean
'Usage
Dim instance As Term
Dim ancestorTerm As Term
Dim returnValue As Boolean
returnValue = instance.GetIsDescendantOf(ancestorTerm)
public bool GetIsDescendantOf(
Term ancestorTerm
)
Parameters
ancestorTerm
Type: Microsoft.SharePoint.Taxonomy.TermThe Term to verify is or is not an ancestor
Return Value
Type: System.Boolean
true if the Term is a descendent of the specified Term; otherwise, false
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The Term to check is a null reference (Nothing in Visual Basic). |