Gets the content item.
Namespace: DotNetNuke.Entities.ContentAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
ContentItem GetContentItem( int contentItemId ) |
| Visual Basic |
|---|
Function GetContentItem ( contentItemId As Integer ) As ContentItem |
Parameters
- contentItemId
- Type: System..::..Int32
The content item id.
Return Value
content item.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | Content item id is less than 0. |