DynamicRouteExpression.SetContext Metodo

Definizione

Imposta il contesto HTTP dell'oggetto DynamicRouteExpression.

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)

Parametri

owner
Control

Controllo che contiene l'istanza di DynamicRouteExpression. Si tratta di un controllo QueryExtender.

context
HttpContext

Contesto della richiesta Web.

dataSource
IQueryableDataSource

Origine dati di destinazione per l'istanza di DynamicRouteExpression.

Si applica a