Click or drag to resize

MongoGridFSFileInfo Methods

The MongoGridFSFileInfo type exposes the following members.

Methods
  NameDescription
Public methodAppendText
Appends UTF-8 encoded text to an existing GridFS file.
Public methodCopyTo(String)
Copies a GridFS file.
Public methodCopyTo(String, MongoGridFSCreateOptions)
Copies a GridFS file.
Public methodCreate
Creates or overwrites a GridFS file.
Public methodCreateText
Creates or opens a GridFS file for writing UTF-8 encoded text.
Public methodDelete
Deletes a GridFS file.
Public methodEquals(Object)
Determines whether this instance and a specified object, which must also be a MongoGridFSFileInfo object, have the same value.
(Overrides ObjectEquals(Object).)
Public methodEquals(MongoGridFSFileInfo)
Determines whether this instance and another specified MongoGridFSFileInfo object have the same value.
Public methodStatic memberEquals(MongoGridFSFileInfo, MongoGridFSFileInfo)
Determines whether two specified MongoGridFSFileInfo objects have the same value.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this MongoGridFSFileInfo object.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMoveTo
Moves the most recent version of a GridFS file.
Public methodOpen(FileMode)
Opens a GridFS file with the specified mode.
Public methodOpen(FileMode, FileAccess)
Opens a GridFS file with the specified mode and access.
Public methodOpenRead
Opens an existing GridFS file for reading.
Public methodOpenText
Opens an existing UTF-8 encoded text GridFS file for reading.
Public methodOpenWrite
Opens an existing GridFS file for writing.
Public methodRefresh
Refreshes the GridFS file info from the server.
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also