Gets the terms by vocabulary id.

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

Implements

ITermController..::..GetTermsByVocabulary(Int32)

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionvocabularyId is less than 0.

See Also