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: 10.0.0
Syntax void UpdateFile(
string serverRelativeUrl,
Stream stream,
string newServerRelativeUrl
)
Parameters
- serverRelativeUrl
- Type: SystemString
Server relative URL of the file being updated. - stream
- Type: System.IOStream
Stream providing file's binary content. - newServerRelativeUrl
- Type: SystemString
New server relative URL of the file.
Exceptions See Also