SPFieldLookup.AnnotateField method
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)
Syntax
'Declaration
Public Overrides Sub AnnotateField ( _
fieldRefNode As XmlNode _
)
'Usage
Dim instance As SPFieldLookup
Dim fieldRefNode As XmlNode
instance.AnnotateField(fieldRefNode)
public override void AnnotateField(
XmlNode fieldRefNode
)
Parameters
fieldRefNode
Type: System.Xml.XmlNodeThe node that the attributes are added to.
Remarks
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.