Gets the content item.

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

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionContent item id is less than 0.

See Also