LinqDataSourceView(LinqDataSource, String, HttpContext) Constructor
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 a new instance of the LinqDataSourceView class, setting the specified LinqDataSource control as the owner of the current view.
public:
LinqDataSourceView(System::Web::UI::WebControls::LinqDataSource ^ owner, System::String ^ name, System::Web::HttpContext ^ context);
public LinqDataSourceView (System.Web.UI.WebControls.LinqDataSource owner, string name, System.Web.HttpContext context);
new System.Web.UI.WebControls.LinqDataSourceView : System.Web.UI.WebControls.LinqDataSource * string * System.Web.HttpContext -> System.Web.UI.WebControls.LinqDataSourceView
Public Sub New (owner As LinqDataSource, name As String, context As HttpContext)
Parameters
- owner
- LinqDataSource
The data source control that the LinqDataSourceView object is associated with.
- name
- String
A unique name for the data source view within the scope of the data source control that owns it.
- context
- HttpContext
The current HttpContext instance.
Remarks
The LinqDataSourceView constructor is called by the LinqDataSource.GetView method to return a new instance of a data source view with the specified name
parameter. Only one LinqDataSourceView object is associated with a LinqDataSource control at a time. The name of the LinqDataSourceView object is always DefaultView
, although this naming restriction is imposed by the LinqDataSource control, not by the LinqDataSourceView control. You can override the LinqDataSource.GetView method to support views that use a different naming convention.
The HttpContext instance that is passed by the context
parameter is used by the data source view to access parameter collections.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示