Partilhar via


SPMobileFileField.TrySaveFieldValue Method

Saves PostValue as the new value of the SPFieldFile object that the SPMobileFileField is rendering.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function TrySaveFieldValue As Boolean
'Usage
Dim instance As SPMobileFileField
Dim returnValue As Boolean

returnValue = instance.TrySaveFieldValue()
public override bool TrySaveFieldValue()

Return Value

Type: System.Boolean
In this override, returns an Boolean as a success indicator; specifically, false if ReadOnly is true; otherwise, true.

See Also

Reference

SPMobileFileField Class

SPMobileFileField Members

Microsoft.SharePoint.MobileControls Namespace