ControlFilterExpression.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.
Initializes the filter expression with data source information.
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 in which the ControlFilterExpression instance is contained, such as the QueryExtender control.
- context
- HttpContext
The application's current HttpContext object.
- dataSource
- IQueryableDataSource
The target data source for the ControlFilterExpression instance. If the DynamicFilterExpression instance is contained in the QueryExtender control, this parameter is the data source that the QueryExtender control refers to.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기