Partager via


HttpControllerDescriptor.ControllerName Property

Gets or sets the name of the controller.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property ControllerName As String
    Get
    Set
'Usage
Dim instance As HttpControllerDescriptor
Dim value As String

value = instance.ControllerName

instance.ControllerName = value
public string ControllerName { get; set; }
public:
property String^ ControllerName {
    String^ get ();
    void set (String^ value);
}
member ControllerName : string with get, set
function get ControllerName () : String
function set ControllerName (value : String)

Property Value

Type: System.String
The name of the controller.

See Also

Reference

HttpControllerDescriptor Class

System.Web.Http.Controllers Namespace