Return a list of ContentItems that have all of the specified terms attached.

Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IQueryable<ContentItem> GetContentItemsByTerms(
	IList<Term> terms
)
Visual Basic
Function GetContentItemsByTerms ( 
	terms As IList(Of Term)
) As IQueryable(Of ContentItem)

Parameters

terms
Type: System.Collections.Generic..::..IList<(Of <(<'Term>)>)>
A list of terms that should be attached to the ContentItems returned

Return Value

returnsM:DotNetNuke.Entities.Content.IContentController.GetContentItemsByTerms(System.Collections.Generic.IList{DotNetNuke.Entities.Content.Taxonomy.Term})

See Also