Click or drag to resize

ISiteMapAddSite Method


Adds a new site branding to a collection.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
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