Class GridFSFileInfo<TFileId>
Represents information about a stored GridFS file (backed by a files collection document).
[BsonSerializer(typeof(GridFSFileInfoSerializer<>))]
public sealed class GridFSFileInfo<TFileId> : BsonDocumentBackedClass
Type Parameters
TFileId
The type of the file identifier.
- Inheritance
-
GridFSFileInfo<TFileId>
- Inherited Members
Constructors
- GridFSFileInfo(BsonDocument, IGridFSFileInfoSerializer<TFileId>)
Initializes a new instance of the GridFSFileInfo class.
Properties
- BackingDocument
Gets the backing document.
- ChunkSizeBytes
Gets the size of a chunk.
- Filename
Gets the filename.
- Id
Gets the identifier.
- Length
Gets the length.
- Metadata
Gets the metadata.
- UploadDateTime
Gets the upload date time.