Class SiteHostsCollection
Inheritance
System.Object
SiteHostsCollection
Assembly: EPiServer.Framework.dll
Version: 9.12.2
Syntax
[Obsolete("Use EPiServer.Web.SiteDefinitionRepository and SiteDefinition in EPiServer.dll to work with sites")]
public class SiteHostsCollection : ConfigurationElementCollection<HostNameCollection>
Constructors
SiteHostsCollection()
Declaration
public SiteHostsCollection()
Methods
Add(HostNameCollection)
Declaration
public void Add(HostNameCollection siteHostsElement)
Parameters
Clear()
Declaration
Get(String)
Declaration
public HostNameCollection Get(string siteId)
Parameters
Type |
Name |
Description |
System.String |
siteId |
|
Returns
GetElementKey(ConfigurationElement)
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type |
Name |
Description |
System.Configuration.ConfigurationElement |
element |
|
Returns
Type |
Description |
System.Object |
|
Remove(String)
Declaration
public void Remove(string siteId)
Parameters
Type |
Name |
Description |
System.String |
siteId |
|
Extension Methods