Click or drag to resize
ISharePointFileGetContentStream Method
Gets the file's content as a stream.

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 13.0.131
Syntax
C#
Stream GetContentStream()

Return Value

Type: Stream
Stream providing SharePoint file's binary data
Exceptions
ExceptionCondition
FileNotFoundExceptionThrown when requested file is not present at SharePoint server.
SharePointServerExceptionThrown whenever server error occurs.
WebExceptionThrown when error related to network or protocol occurs.
SharePointConnectionNotSupportedExceptionThrown when given connectionData contains unsupported authentication mode or invalid URL.
ExceptionThrown in case of unexpected error condition.
See Also