ModelMethodContext.Current Property
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.
Gets the ModelMethodContext object that corresponds to the Page object that is in the Current property.
public:
static property System::Web::UI::WebControls::ModelMethodContext ^ Current { System::Web::UI::WebControls::ModelMethodContext ^ get(); };
public static System.Web.UI.WebControls.ModelMethodContext Current { get; }
static member Current : System.Web.UI.WebControls.ModelMethodContext
Public Shared ReadOnly Property Current As ModelMethodContext
Property Value
The ModelMethodContext object, or null
if the current request is not for a page.
Remarks
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.