Table of Contents

Class GridFSFileInfo

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.dll

Represents information about a stored GridFS file (backed by a files collection document).

[BsonSerializer(typeof(GridFSFileInfoSerializer))]
public sealed class GridFSFileInfo : BsonDocumentBackedClass
Inheritance
GridFSFileInfo
Inherited Members

Constructors

GridFSFileInfo(BsonDocument)

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.

IdAsBsonValue

Gets the identifier as a BsonValue.

Length

Gets the length.

Metadata

Gets the metadata.

UploadDateTime

Gets the upload date time.