Поделиться через


ControllerContext.IsChildAction Property

Gets a value that indicates whether the associated action method is a child action.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property IsChildAction As Boolean
    Get
public virtual bool IsChildAction { get; }
public:
virtual property bool IsChildAction {
    bool get ();
}

Property Value

Type: System.Boolean
true if the associated action method is a child action; otherwise, false.

See Also

Reference

ControllerContext Class

System.Web.Mvc Namespace