Gets the terms by vocabulary name.
Namespace: DotNetNuke.Entities.Content.TaxonomyAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public IQueryable<Term> GetTermsByVocabulary( string vocabularyName ) |
| Visual Basic |
|---|
Public Function GetTermsByVocabulary ( vocabularyName As String ) As IQueryable(Of Term) |
Parameters
- vocabularyName
- Type: System..::..String
Name of the vocabulary.
Return Value
term collectionImplements
ITermController..::..GetTermsByVocabulary(String)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | vocabularyName is empty. |