Partager via


ControllerDescriptor.ControllerName Property

Gets the name of the controller.

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

Syntax

'Declaration
Public Overridable ReadOnly Property ControllerName As String
    Get
public virtual string ControllerName { get; }
public:
virtual property String^ ControllerName {
    String^ get ();
}

Property Value

Type: System.String
The name of the controller.

See Also

Reference

ControllerDescriptor Class

System.Web.Mvc Namespace