Share via


SPFileStream.Length Property

Gets the length in bytes of the stream.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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