TermSet.GetTerm method

Gets a Term from the current TermSet based on its ID.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Function GetTerm ( _
    termId As Guid _
) As Term
'Usage
Dim instance As TermSet
Dim termId As Guid
Dim returnValue As Term

returnValue = instance.GetTerm(termId)
public Term GetTerm(
    Guid termId
)

Parameters

Return value

Type: Microsoft.SharePoint.Taxonomy.Term
A Term from the current TermSet based on the ID of the [Term]

Remarks

A a null reference (Nothing in Visual Basic) will be returned if the Term cannot be found or if the user does not have sufficient permissions to access it.

See also

Reference

TermSet class

TermSet members

Microsoft.SharePoint.Taxonomy namespace

Id