Get a list of content items by ContentType.
Namespace: DotNetNuke.Entities.ContentAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
IQueryable<ContentItem> GetContentItemsByContentType( ContentType contentType ) |
Visual Basic |
---|
Function GetContentItemsByContentType ( contentType As ContentType ) As IQueryable(Of ContentItem) |
Parameters
- contentType
- Type: DotNetNuke.Entities.Content..::..ContentType
The Content Type of the content items we want to query