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.492
Syntax
ISiteBranding AddSite(
	string name,
	string searchString,
	string siteGroup = ""
)

Parameters

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

Return Value

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