Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AnnotateField method

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
)

Parameters

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.

Show:
© 2015 Microsoft