次の方法で共有


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

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.

See also

Reference

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace