Share via


FileField.UpdateFieldValueInItem Method

Updates the underlying value of the field (the file name) to the latest user-set value.

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

Syntax

'Declaration
Public Overrides Sub UpdateFieldValueInItem
'Usage
Dim instance As FileField

instance.UpdateFieldValueInItem()
public override void UpdateFieldValueInItem()

Remarks

This override validates Text and then updates ItemFieldValue with Value (which is essentially a wrapper around Text). ItemFieldValue is the value of the SPFieldFile object that has FileField as the value of its FieldRenderingControl property. Value is the file name as it appears in the UI.

See Also

Reference

FileField Class

FileField Members

Microsoft.SharePoint.WebControls Namespace