ISharePointFileGetContentStream Method |
Gets the file's content as a stream.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 13.0.131
Syntax Stream GetContentStream()
Return Value
Type:
StreamStream providing SharePoint file's binary data
Exceptions Exception | Condition |
---|
FileNotFoundException | Thrown when requested file is not present at SharePoint server. |
SharePointServerException | Thrown whenever server error occurs. |
WebException | Thrown when error related to network or protocol occurs. |
SharePointConnectionNotSupportedException | Thrown when given connectionData contains unsupported authentication mode or invalid URL. |
Exception | Thrown in case of unexpected error condition. |
See Also