MongoGridFSStream Methods |
The MongoGridFSStream type exposes the following members.
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.) |