다음을 통해 공유


BaseFieldControl.OnLoad Method

Represents the method that handles the Load event of a FieldMetadata object.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub OnLoad ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnLoad(e)
protected override void OnLoad(
    EventArgs e
)

Parameters

Remarks

Among other things, the default implementation sets Value to the value of ItemFieldValue, provided that the set accessor for Value has been overridden. It also registers the list schema version in a hidden field.

See Also

Reference

BaseFieldControl Class

BaseFieldControl Members

Microsoft.SharePoint.WebControls Namespace

Other Resources

How to: Create a Custom Field Type

Custom Field Types

Walkthrough: Creating a Custom Field Type