ISharePointFileServiceUpdateFile Method |
Updates file identified by serverRelativeUrl. New content and file name can be provided.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.2.23
Syntax void UpdateFile(
string serverRelativeUrl,
Stream stream,
string newServerRelativeUrl
)
Parameters
- serverRelativeUrl
- Type: SystemString
Server relative URL of the file being updated. - stream
- Type: CMS.IOStream
Stream providing file's binary content. - newServerRelativeUrl
- Type: SystemString
New server relative URL of the file.
Exceptions See Also