RouteParameter.Evaluate(HttpContext, Control) 方法
定义
计算请求 URL,并返回参数的值。Evaluates the request URL and returns the value of the parameter.
protected public:
override System::Object ^ Evaluate(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
protected internal override object Evaluate (System.Web.HttpContext context, System.Web.UI.Control control);
override this.Evaluate : System.Web.HttpContext * System.Web.UI.Control -> obj
Protected Friend Overrides Function Evaluate (context As HttpContext, control As Control) As Object
参数
- context
- HttpContext
请求的当前 HttpContext 实例。The current HttpContext instance of the request.
- control
- Control
参数所绑定到的控件。The control that the parameter is bound to.
返回
参数的当前值。The current value of the parameter.