SPFileStream members
Exposes a Stream object around a SharePoint file.
The SPFileStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPFileStream | Initializes a new instance of the SPFileStream class. |
Top
Properties
Name | Description | |
---|---|---|
CanRead | Gets a Boolean value indicating whether the current stream supports reading. (Overrides Stream.CanRead.) | |
CanSeek | Gets a Boolean value indicating whether the current stream supports seeking. (Overrides Stream.CanSeek.) | |
CanTimeout | (Inherited from Stream.) | |
CanWrite | Gets a Boolean value indicating whether the current stream supports writing. (Overrides Stream.CanWrite.) | |
Length | Gets the length in bytes of the stream. (Overrides Stream.Length.) | |
Position | Gets or sets the current position of this stream. (Overrides Stream.Position.) | |
ReadTimeout | (Inherited from Stream.) | |
WriteTimeout | (Inherited from Stream.) |
Top
Methods
Name | Description | |
---|---|---|
BeginRead | (Inherited from Stream.) | |
BeginWrite | (Inherited from Stream.) | |
Close | Closes the stream and releases all resources that it uses. (Overrides Stream.Close().) | |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
CreateWaitHandle | Obsolete. (Inherited from Stream.) | |
Dispose() | (Inherited from Stream.) | |
Dispose(Boolean) | (Inherited from Stream.) | |
EndRead | (Inherited from Stream.) | |
EndWrite | (Inherited from Stream.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
Flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Overrides Stream.Flush().) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
MemberwiseClone() | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
Read | Reads a block of bytes from the stream and writes the data in a given buffer. (Overrides Stream.Read([], Int32, Int32).) | |
ReadByte | (Inherited from Stream.) | |
Release | Releases all resources used by the stream. | |
Seek | Sets the current position of this stream to the given value. (Overrides Stream.Seek(Int64, SeekOrigin).) | |
SetLength | Sets the length of this stream to the given value. (Overrides Stream.SetLength(Int64).) | |
ToString | (Inherited from Object.) | |
Write | Writes a block of bytes to this stream using data from a buffer. (Overrides Stream.Write([], Int32, Int32).) | |
WriteByte | (Inherited from Stream.) |
Top