Class HostNameCollection
Inheritance
System.Object
HostNameCollection
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 HostNameCollection : ConfigurationElementCollection<HostNameElement>
Constructors
HostNameCollection()
Declaration
public HostNameCollection()
Properties
SiteId
Declaration
public string SiteId { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Add(HostNameElement)
Declaration
public void Add(HostNameElement element)
Parameters
Clear()
Declaration
Get(String)
Declaration
public HostNameElement Get(string hostName)
Parameters
Type |
Name |
Description |
System.String |
hostName |
|
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 hostName)
Parameters
Type |
Name |
Description |
System.String |
hostName |
|
Extension Methods