DynamicRouteExpression.SetContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the HTTP context of the DynamicRouteExpression object.
public:
override void SetContext(System::Web::UI::Control ^ owner, System::Web::HttpContext ^ context, System::Web::UI::WebControls::IQueryableDataSource ^ dataSource);
public override void SetContext (System.Web.UI.Control owner, System.Web.HttpContext context, System.Web.UI.WebControls.IQueryableDataSource dataSource);
override this.SetContext : System.Web.UI.Control * System.Web.HttpContext * System.Web.UI.WebControls.IQueryableDataSource -> unit
Public Overrides Sub SetContext (owner As Control, context As HttpContext, dataSource As IQueryableDataSource)
Parameters
- owner
- Control
The control that contains the DynamicRouteExpression instance. This is a QueryExtender control.
- context
- HttpContext
The Web request context.
- dataSource
- IQueryableDataSource
The target data source for the DynamicRouteExpression instance.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.