Click or drag to resize
UrlHelperExtensionsKentico Method
Returns an object that provides methods to build URLs to Kentico content.

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static UrlHelperExtensionPoint Kentico(
	this UrlHelper target
)

Parameters

target
Type: UrlHelper
An instance of the UrlHelper class.

Return Value

Type: UrlHelperExtensionPoint
An object that provides methods to build URLs to Kentico content.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UrlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
The returned object builds URLs based on the context of the current request.
See Also