Gets the terms by vocabulary name.

Namespace: DotNetNuke.Entities.Content.Taxonomy
Assembly: 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 collection

Implements

ITermController..::..GetTermsByVocabulary(String)

Exceptions

ExceptionCondition
System..::..ArgumentExceptionvocabularyName is empty.

See Also