MongoGridFSStream Class |
Namespace: MongoDB.Driver.GridFS
The MongoGridFSStream type exposes the following members.
Name | Description | |
---|---|---|
![]() | MongoGridFSStream(MongoGridFSFileInfo, FileMode) |
Initializes a new instance of the MongoGridFSStream class.
|
![]() | MongoGridFSStream(MongoGridFSFileInfo, FileMode, FileAccess) |
Initializes a new instance of the MongoGridFSStream class.
|
Name | Description | |
---|---|---|
![]() | CanRead |
Gets whether the GridFS stream supports reading.
(Overrides StreamCanRead.) |
![]() | CanSeek |
Gets whether the GridFS stream supports seeking.
(Overrides StreamCanSeek.) |
![]() | CanTimeout | (Inherited from Stream.) |
![]() | CanWrite |
Gets whether the GridFS stream supports writing.
(Overrides StreamCanWrite.) |
![]() | Length |
Gets the current length (use SetLength to change the length).
(Overrides StreamLength.) |
![]() | Position |
Gets or sets the current position.
(Overrides StreamPosition.) |
![]() | ReadTimeout | (Inherited from Stream.) |
![]() | UpdateMD5 | Obsolete.
Gets or sets a value indicating whether to compute and update the MD5 hash for the file when the stream is closed.
|
![]() | WriteTimeout | (Inherited from Stream.) |
Name | Description | |
---|---|---|
![]() | BeginRead | (Inherited from Stream.) |
![]() | BeginWrite | (Inherited from Stream.) |
![]() | Close | (Inherited from Stream.) |
![]() | CopyTo(Stream) | (Inherited from Stream.) |
![]() | CopyTo(Stream, Int32) | (Inherited from Stream.) |
![]() | CopyToAsync(Stream) | (Inherited from Stream.) |
![]() | CopyToAsync(Stream, Int32) | (Inherited from Stream.) |
![]() | CopyToAsync(Stream, Int32, CancellationToken) | (Inherited from Stream.) |
![]() | CreateObjRef | (Inherited from MarshalByRefObject.) |
![]() | CreateWaitHandle | Obsolete. (Inherited from Stream.) |
![]() | Dispose | (Inherited from Stream.) |
![]() | Dispose(Boolean) |
Disposes of any resources used by the stream.
(Overrides StreamDispose(Boolean).) |
![]() | EndRead | (Inherited from Stream.) |
![]() | EndWrite | (Inherited from Stream.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Flush |
Flushes any unsaved data in the buffers to the GridFS file.
(Overrides StreamFlush.) |
![]() | FlushAsync | (Inherited from Stream.) |
![]() | FlushAsync(CancellationToken) | (Inherited from Stream.) |
![]() | 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.) |
![]() | ObjectInvariant | Obsolete. (Inherited from Stream.) |
![]() | Read |
Reads bytes from the GridFS stream.
(Overrides StreamRead(Byte, Int32, Int32).) |
![]() | ReadAsync(Byte, Int32, Int32) | (Inherited from Stream.) |
![]() | ReadAsync(Byte, Int32, Int32, CancellationToken) | (Inherited from Stream.) |
![]() | ReadByte |
Reads one byte from the GridFS stream.
(Overrides StreamReadByte.) |
![]() | Seek |
Seeks to a new position.
(Overrides StreamSeek(Int64, SeekOrigin).) |
![]() | SetLength |
Sets the length of the GridFS file.
(Overrides StreamSetLength(Int64).) |
![]() | ToString | (Inherited from Object.) |
![]() | Write |
Writes bytes to the GridFS stream.
(Overrides StreamWrite(Byte, Int32, Int32).) |
![]() | WriteAsync(Byte, Int32, Int32) | (Inherited from Stream.) |
![]() | WriteAsync(Byte, Int32, Int32, CancellationToken) | (Inherited from Stream.) |
![]() | WriteByte |
Writes one byte to the GridFS stream.
(Overrides StreamWriteByte(Byte).) |
Name | Description | |
---|---|---|
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |