AutoFieldsGenerator.CreateAutoGeneratedFields(Object, Control) 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.
When implemented in a derived class, creates autogenerated fields based on the current data item.
public:
abstract System::Collections::Generic::List<System::Web::UI::WebControls::AutoGeneratedField ^> ^ CreateAutoGeneratedFields(System::Object ^ dataItem, System::Web::UI::Control ^ control);
public abstract System.Collections.Generic.List<System.Web.UI.WebControls.AutoGeneratedField> CreateAutoGeneratedFields (object dataItem, System.Web.UI.Control control);
abstract member CreateAutoGeneratedFields : obj * System.Web.UI.Control -> System.Collections.Generic.List<System.Web.UI.WebControls.AutoGeneratedField>
Public MustOverride Function CreateAutoGeneratedFields (dataItem As Object, control As Control) As List(Of AutoGeneratedField)
Parameters
- dataItem
- Object
The current data item.
- control
- Control
The data-bound control that will contain the autogenerated fields.
Returns
The autogenerated fields.
Remarks
This method typically populates the AutoGeneratedFieldProperties collection.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.