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