Gets the code of a ContentType.

Syntax

Smartsite SXML CopyCode image Copy Code
string contenttype.getcode(integer contentTypeNumber)

Parameters

Name Data Type Description
contentTypeNumber Integer The content type number.

Return Value

Data Type Description
String

Expand image Example

SXML