Class HostNameCollection
Inheritance
System.Object
HostNameCollection
Assembly: EPiServer.Configuration.dll
Version: 7.19.2
Syntax
[Obsolete("SiteHost handling has been moved to EPiServer.Framework, see EPiServerFrameworkSection.siteHostMapping", true)]
public class HostNameCollection : ConfigurationElementCollection
Constructors
HostNameCollection()
Declaration
public HostNameCollection()
Methods
AddHostName(HostNameElement)
Declaration
public void AddHostName(HostNameElement hostNameElement)
Parameters
Clear()
Declaration
CreateNewElement()
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type |
Description |
System.Configuration.ConfigurationElement |
|
GetElementKey(ConfigurationElement)
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type |
Name |
Description |
System.Configuration.ConfigurationElement |
element |
|
Returns
Type |
Description |
System.Object |
|
GetMappings()
Declaration
[Obsolete("This method no longer returns relevant data. Use the framework class EPiServer.Framework.Initialization.SiteMappingConfiguration / LanguageForHost method instead.", false)]
public StringDictionary GetMappings()
Returns
Type |
Description |
System.Collections.Specialized.StringDictionary |
|
RemoveHostName(String)
Declaration
public void RemoveHostName(string hostName)
Parameters
Type |
Name |
Description |
System.String |
hostName |
|