Gets the PageNode relating to the hostname.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 5.3.6135.33083

Syntax

C#
public PageNode GetPageNodeByHostname(
	string hostname
)
Visual Basic
Public Function GetPageNodeByHostname ( _
	hostname As String _
) As PageNode
Visual C++
public:
PageNode^ GetPageNodeByHostname(
	String^ hostname
)

Parameters

hostname
Type: System..::..String
Hostname string to resolve to a PageNode.

Return Value

The homepage PageNode element matching the specified hostname or the default homepage.

See Also