Gets the content of the terms by content item id.
Namespace: DotNetNuke.Entities.Content.TaxonomyAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public IQueryable<Term> GetTermsByContent( int contentItemId ) |
Visual Basic |
---|
Public Function GetTermsByContent ( contentItemId As Integer ) As IQueryable(Of Term) |
Parameters
- contentItemId
- Type: System..::..Int32
The content item id.
Return Value
term collectionImplements
ITermController..::..GetTermsByContent(Int32)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | ContentItemId is less than 0. |