SPFileStream Constructor
Initializes a new instance of the SPFileStream class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
web As SPWeb, _
sizeHint As Integer _
)
'Usage
Dim web As SPWeb
Dim sizeHint As Integer
Dim instance As New SPFileStream(web, sizeHint)
public SPFileStream(
SPWeb web,
int sizeHint
)
Parameters
web
Type: Microsoft.SharePoint.SPWebAn SPWeb object representing the Web site that contains the file.
sizeHint
Type: System.Int32A 32-bit integer that specifies a buffer size.