TransformationHelperGetSitemapItem Method |
Returns sitemap XML element for specified type (loc, lastmod, changefreq, priority).
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax public string GetSitemapItem(
Object dataitem,
string type
)
Parameters
- dataitem
- Type: SystemObject
Current dataitem object (DataRow or DataRowView object) - type
- Type: SystemString
Specify xml sitemap type (loc, lastmod, changefreq, priority)
Return Value
Type:
StringSee Also