DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) 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 an AutoGeneratedField object that represents an automatically generated row field using the specified field properties.
protected:
virtual System::Web::UI::WebControls::AutoGeneratedField ^ CreateAutoGeneratedRow(System::Web::UI::WebControls::AutoGeneratedFieldProperties ^ fieldProperties);
protected virtual System.Web.UI.WebControls.AutoGeneratedField CreateAutoGeneratedRow (System.Web.UI.WebControls.AutoGeneratedFieldProperties fieldProperties);
abstract member CreateAutoGeneratedRow : System.Web.UI.WebControls.AutoGeneratedFieldProperties -> System.Web.UI.WebControls.AutoGeneratedField
override this.CreateAutoGeneratedRow : System.Web.UI.WebControls.AutoGeneratedFieldProperties -> System.Web.UI.WebControls.AutoGeneratedField
Protected Overridable Function CreateAutoGeneratedRow (fieldProperties As AutoGeneratedFieldProperties) As AutoGeneratedField
Parameters
- fieldProperties
- AutoGeneratedFieldProperties
An AutoGeneratedFieldProperties that contains the properties for the AutoGeneratedField.
Returns
An AutoGeneratedField that contains the field properties specified by the fieldProperties
parameter.
Remarks
The CreateAutoGeneratedRow method is a helper method called by the DetailsView control to create an automatically generated row field using the specified field properties.
Notes to Inheritors
When extending the DetailsView class, you can override this method to create your own automatically generated row field.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈