Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the size of the file in bytes, excluding the size of any Web Parts that are used in the file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Length As Long
Get
'Usage
Dim instance As SPFile
Dim value As Long
value = instance.Length
public long Length { get; }
Property Value
Type: System.Int64
A 64-bit integer that represents the size of the file.