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 imageCopy Code
                                  public class HostHeaders
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class HostHeaders

The type exposes the following members.

Public Methods

  Name Description
Public method CanHandleLocation
Returns true if the host of the uri is defined in the host headers section.
Public method Contains
Returns true if the given host header exists in this collection of hostheaders.
Public method Equals (Inherited from Object.)
Public method GetEnumerator
Gets an enumerator for this collection.
Public method GetHashCode (Inherited from Object.)
Public method GetHostHeader
Gets the HostHeader that matches the host in this uri or null if there is no match.
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Count
Returns the number of HostHeaders in this collection.
Public property DefaultHostHeader
Returns the default HostHeader or null if there is no default host header defined for this Channel.
Public property Item
Gets the HostHeader at the specified index.
Public property UseGlobalHostHeaders
Returns true if the hostheaders in this channel inherit the global hostheaders defined in the default channel.

See Also

Advanced