参考:http://ulfqbpl.blog.163.com/blog/static/87783552201272824843607/
获取控制器名称:
RouteData.Values["controller"].ToString();
或RouteData.GetRequiredString("controller");
获取Action名称:
RouteData.Values["action"].ToString();
或RouteData.GetRequiredString("action")
获取路由参数值:
RouteData.Values[名称].ToString();
如:RouteData.Values["ID"].ToString(); 获取ID的值