共用方式為


RedirectToRouteResult.RouteName Property

Gets or sets the name of the route.

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

Syntax

'Declaration
Public Property RouteName As String
    Get
    Private Set
public string RouteName { get; private set; }
public:
property String^ RouteName {
    String^ get ();
    private: void set (String^ value);
}

Property Value

Type: System.String
The name of the route.

See Also

Reference

RedirectToRouteResult Class

System.Web.Mvc Namespace