This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class HostHeaders |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class HostHeaders |
The type exposes the following members.
Public Methods
Name | Description | |
---|---|---|
CanHandleLocation |
Returns true if the host of the uri is defined in the host headers section.
|
|
Contains |
Returns true if the given host header exists in this collection of hostheaders.
|
|
Equals | (Inherited from Object.) | |
GetEnumerator |
Gets an enumerator for this collection.
|
|
GetHashCode | (Inherited from Object.) | |
GetHostHeader |
Gets the HostHeader that matches the host in this uri or null if there is no match.
|
|
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
Count |
Returns the number of HostHeaders in this collection.
|
|
DefaultHostHeader |
Returns the default HostHeader or null if there is no default host header defined for this Channel.
|
|
Item |
Gets the HostHeader at the specified index.
|
|
UseGlobalHostHeaders |
Returns true if the hostheaders in this channel inherit the global hostheaders defined in the default channel.
|
See Also
Smartsite.Core Namespace