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

SPField.AnnotateField method

SharePoint 2013

When overridden in a derived class, 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 virtual void AnnotateField(
	XmlNode fieldRefNode


Type: System.Xml.XmlNode

The node that the attributes are added to.

Your override should call the base implementation and then add other attributes (and their values) as needed for your custom field type.

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

Community Additions

© 2014 Microsoft. All rights reserved.