Share via


TermSet.GetTerm method

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

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.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.Client.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.Client.Taxonomy namespace