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 null 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