Share via


SPFileStream.Length property

Gets the length in bytes of the stream.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Length As Long
    Get
'Usage
Dim instance As SPFileStream
Dim value As Long

value = instance.Length
public override long Length { get; }

Property value

Type: System.Int64
A long value representing the length of the stream in bytes.

See also

Reference

SPFileStream class

SPFileStream members

Microsoft.SharePoint namespace