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 or sets the amount of data to read from the stream and save, in bytes.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property FileSizeToSave As Long
Get
Set
'Usage
Dim instance As SPFileCollectionAddParameters
Dim value As Long
value = instance.FileSizeToSave
instance.FileSizeToSave = value
public long FileSizeToSave { get; set; }
Property value
Type: System.Int64
The amount of data to read from the stream and save, in bytes.
Remarks
-1 means read all data, but the System.IO.Stream data must be seek-able and can provide a length. If the System.IO.Stream data is not seek-able and cannot provide a length, this value must be specified.
See also
Reference
SPFileCollectionAddParameters class