Click or drag to resize
ISharePointFileLength Property
Length of the file's binary content. May not be supported by all SharePoint server versions.

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 12.0.0
Syntax
C#
long Length { get; }

Property Value

Type: Int64
Exceptions
ExceptionCondition
NotSupportedExceptionThrown when the property is not supported.
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.
SharePointCCSDKExceptionThrown when identity client library "msoidcliL.dll" needed for SharePoint Online authentication is missing. See documentation for details.
ExceptionThrown in case of unexpected error condition.
See Also