Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.