SPFileStream.Write method
Writes a block of bytes to this stream using data from a buffer.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Write ( _
buffer As Byte(), _
offset As Integer, _
count As Integer _
)
'Usage
Dim instance As SPFileStream
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer
instance.Write(buffer, offset, count)
public override void Write(
byte[] buffer,
int offset,
int count
)
Parameters
buffer
Type: []A byte array for the buffer containing data to write to the stream.
offset
Type: System.Int32The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count
Type: System.Int32The maximum number of bytes to write to the current stream.