TemplatePagerField.CreateField 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.
Creates and returns a new instance of the TemplatePagerField class.
protected:
override System::Web::UI::WebControls::DataPagerField ^ CreateField();
protected override System.Web.UI.WebControls.DataPagerField CreateField ();
override this.CreateField : unit -> System.Web.UI.WebControls.DataPagerField
Protected Overrides Function CreateField () As DataPagerField
Returns
A new instance of the TemplatePagerField class.
Remarks
The CreateField method is a helper method. It is used by the CloneField method of the base class to create an empty TemplatePagerField object.
Notes to Inheritors
Override the CreateField() method to return a new instance of the derived class. Do not call the CreateField() method of the base class.