Click or drag to resize
ApplicationUrlHelper.GetElementUrl Method (UIElementInfo, Boolean, Int32, String)
Returns element's URL

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 10.0.0
Syntax
C#
public static string GetElementUrl(
	UIElementInfo ui,
	bool displayTitle,
	int objectId = 0,
	string additionalQuery = null
)

Parameters

ui
Type: CMS.Modules.UIElementInfo
UI element info.
displayTitle
Type: System.Boolean
Indicates whether append display title to result URL.
objectId (Optional)
Type: System.Int32
Indicates whether append object ID to URL.
additionalQuery (Optional)
Type: System.String
Additional query to append to URL

Return Value

Type: String
See Also