SPFileStream members

Exposes a Stream object around a SharePoint file.

The SPFileStream type exposes the following members.

Constructors

  Name Description
Public method SPFileStream Initializes a new instance of the SPFileStream class.

Top

Properties

  Name Description
Public property CanRead Gets a Boolean value indicating whether the current stream supports reading. (Overrides Stream.CanRead.)
Public property CanSeek Gets a Boolean value indicating whether the current stream supports seeking. (Overrides Stream.CanSeek.)
Public property CanTimeout (Inherited from Stream.)
Public property CanWrite Gets a Boolean value indicating whether the current stream supports writing. (Overrides Stream.CanWrite.)
Public property Length Gets the length in bytes of the stream. (Overrides Stream.Length.)
Public property Position Gets or sets the current position of this stream. (Overrides Stream.Position.)
Public property ReadTimeout (Inherited from Stream.)
Public property WriteTimeout (Inherited from Stream.)

Top

Methods

  Name Description
Public method BeginRead (Inherited from Stream.)
Public method BeginWrite (Inherited from Stream.)
Public method Close Closes the stream and releases all resources that it uses. (Overrides Stream.Close().)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Protected method CreateWaitHandle Obsolete. (Inherited from Stream.)
Public method Dispose() (Inherited from Stream.)
Protected method Dispose(Boolean) (Inherited from Stream.)
Public method EndRead (Inherited from Stream.)
Public method EndWrite (Inherited from Stream.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Flush Clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Overrides Stream.Flush().)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method Read Reads a block of bytes from the stream and writes the data in a given buffer. (Overrides Stream.Read([], Int32, Int32).)
Public method ReadByte (Inherited from Stream.)
Public method Release Releases all resources used by the stream.
Public method Seek Sets the current position of this stream to the given value. (Overrides Stream.Seek(Int64, SeekOrigin).)
Public method SetLength Sets the length of this stream to the given value. (Overrides Stream.SetLength(Int64).)
Public method ToString (Inherited from Object.)
Public method Write Writes a block of bytes to this stream using data from a buffer. (Overrides Stream.Write([], Int32, Int32).)
Public method WriteByte (Inherited from Stream.)

Top

See also

Reference

SPFileStream class

Microsoft.SharePoint namespace