次の方法で共有


SPField.AnnotateField method

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)

Syntax

'Declaration
Public Overridable Sub AnnotateField ( _
    fieldRefNode As XmlNode _
)
'Usage
Dim instance As SPField
Dim fieldRefNode As XmlNode

instance.AnnotateField(fieldRefNode)
public virtual void AnnotateField(
    XmlNode fieldRefNode
)

Parameters

Remarks

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

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace