DocumentURLProviderGetPresentationUrl Method |
Returns presentation URL for the specified node. This is the absolute URL where live presentation of given node can be found.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public static string GetPresentationUrl(
TreeNode node,
string preferredDomainName = null
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Tree node to return presentation URL for. - preferredDomainName (Optional)
- Type: SystemString
A preferred domain name that should be used as the host part of the URL.
Return Value
Type:
StringSee Also