Share via


File.Length property

Gets the size of the file in bytes, excluding the size of any Web Parts that are used in the file.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property Length As Long
    Get
'Usage
Dim instance As File
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.

See also

Reference

File class

File members

Microsoft.SharePoint.Client namespace