Partilhar via


ListFieldIterator.CreateChildControls Method

Renders each field in the list item, with certain exceptions.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub CreateChildControls
'Usage

Me.CreateChildControls()
protected override void CreateChildControls()

Exceptions

Exception Condition
ArgumentException

The ListFieldIterator property ControlTemplate is a null reference (Nothing in Visual Basic).

Remarks

Fields for which IsFieldExcluded returns true are not rendered.

See Also

Reference

ListFieldIterator Class

ListFieldIterator Members

Microsoft.SharePoint.WebControls Namespace