ISiteMapAddSite Method Ingeniux CMS Content Store API

Adds a new site branding to a collection.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

ISiteBranding AddSite(
	string name,
	string searchString,
	string siteGroup = ""
)

Parameters

name
Type: SystemString
Name of the new site branding. This parameter cannot be null or empty.
searchString
Type: SystemString
Search string of the site branding. Not case-sensitive, cannot be null or empty.
siteGroup (Optional)
Type: SystemString
Site group name (optional)

Return Value

Type: ISiteBranding
Newly created site branding.
Exceptions

ExceptionCondition
ArgumentNullExceptionWhen the name or search string provided is null or empty.
ArgumentExceptionWhen entries with the same name or search string exist in the collection.
See Also

Reference