TermSet.GetTerm(Guid) TermSet.GetTerm(Guid) TermSet.GetTerm(Guid) Method

Definition

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

public:
 Microsoft::SharePoint::Taxonomy::Term ^ GetTerm(Guid termId);
[Microsoft.SharePoint.Client.ClientCallableMethod(CacheReturnValue=true, ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, ReturnObjectIdentity=true)]
public Microsoft.SharePoint.Taxonomy.Term GetTerm (Guid termId);
Public Function GetTerm (termId As Guid) As Term
Parameters
termId
Guid Guid Guid

The ID of the Term to get

Returns

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.

Applies to