Microsoft.SharePoint.WebCon ...


ListFieldIterator Class (Microsoft.SharePoint.WebControls)
Renders each field in a list item, with some possible exceptions.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
Public Class ListFieldIterator
    Inherits FormComponent
Visual Basic (Usage)
Dim instance As ListFieldIterator
C#
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
public class ListFieldIterator : FormComponent
Inheritance Hierarchy

System.Object
   System.Web.UI.Control
     Microsoft.SharePoint.WebControls.SPControl
       Microsoft.SharePoint.WebControls.TemplateBasedControl
         Microsoft.SharePoint.WebControls.FormComponent
          Microsoft.SharePoint.WebControls.ListFieldIterator
             Microsoft.SharePoint.WebControls.SurveyFieldIterator
             Microsoft.SharePoint.WebControls.VersionDiffIterator
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Community Content

Oskar Austegard
Additional Info
Karine Bosch has excellent additional info here: http://karinebosch.wordpress.com/sharepoint-controls/listfielditerator/
Geoff McElhanon has more at: http://g-m-a-c.blogspot.com/2008/04/how-sharepoint-2007-renders-its-content.html
And Dennis Alzoubi has an example of using it to add/edit items in a new window: http://the-e.net/Lists/Posts/Post.aspx?ID=24

Page view tracker