共用方式為


SPFile.Update Method

Updates the database with changes that are made to the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub Update
'Usage
Dim instance As SPFile

instance.Update()
public void Update()

Exceptions

Exception Condition
SPException

An error occurred while updating the file.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace