Click or drag to resize
IFeatureSetGetFeatureT Method
Returns a feature of the specified type.

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
T GetFeature<T>()
where T : class

Type Parameters

T
The type of the feature.

Return Value

Type: T
A feature of the specified type, if available; otherwise, null.
See Also