Click or drag to resize
ViewDataDictionaryExtensionsKentico Method
Returns an object that provides methods to access view data for Kentico content.

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

Parameters

target
Type: ViewDataDictionary
An instance of the ViewDataDictionary class.

Return Value

Type: ViewDataDictionaryExtensionPoint
An object that provides methods to access view data for Kentico content or null when target is null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ViewDataDictionary. 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).
See Also