| ISharePointFileGetContentBytes Method |
Gets the file's content as an array of bytes.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 13.0.131
SyntaxReturn Value
Type:
ByteArray of bytes containing 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