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
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: ISiteBrandingNewly created site branding.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | When the name or search string provided is null or empty. |
ArgumentException | When entries with the same name or search string exist in the collection. |
See Also