Click or drag to resize
TreeNodeGetPreviewLink Method
Returns document preview link.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public virtual string GetPreviewLink(
	string userName,
	bool ensureQueryHash = false
)

Parameters

userName
Type: SystemString
User name
ensureQueryHash (Optional)
Type: SystemBoolean
Indicates if query string hash should be added. For content-only nodes, hash is added always.

Return Value

Type: String
See Also