DetailsView.CreateAutoGeneratedRows(Object) 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 a set of automatically generated row fields for the specified data item.
protected:
virtual System::Collections::ICollection ^ CreateAutoGeneratedRows(System::Object ^ dataItem);
protected virtual System.Collections.ICollection CreateAutoGeneratedRows (object dataItem);
abstract member CreateAutoGeneratedRows : obj -> System.Collections.ICollection
override this.CreateAutoGeneratedRows : obj -> System.Collections.ICollection
Protected Overridable Function CreateAutoGeneratedRows (dataItem As Object) As ICollection
Parameters
- dataItem
- Object
The data item for which to create the automatically generated row fields.
Returns
An ICollection that contains the automatically generated row fields for the specified data item.
Exceptions
The DetailsView control does not have any properties or attributes from which to generate fields.
Remarks
When the AutoGenerateRows property is set to true
, the CreateAutoGeneratedRows method is called by the DetailsView control to create a set of automatically generated row fields for the current data item.
Notes to Inheritors
When extending the DetailsView class, you can override this method to create your own set of automatically generated row fields.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示