SPFieldLookup.AnnotateField method

SharePoint 2013

Adds attributes to the specified XML node and assigns them values from the properties of this SPField object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override void AnnotateField(
	XmlNode fieldRefNode


Type: System.Xml.XmlNode

The node that the attributes are added to.

This override calls the base implementation and then adds other attributes (and their values); for example, if the field is set for client side rendering and to render as text, a RenderAsText attribute with value true is added.