MongoGridFSFileInfo Methods |
The MongoGridFSFileInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| AppendText |
Appends UTF-8 encoded text to an existing GridFS file.
| |
| CopyTo(String) |
Copies a GridFS file.
| |
| CopyTo(String, MongoGridFSCreateOptions) |
Copies a GridFS file.
| |
| Create |
Creates or overwrites a GridFS file.
| |
| CreateText |
Creates or opens a GridFS file for writing UTF-8 encoded text.
| |
| Delete |
Deletes a GridFS file.
| |
| Equals(Object) |
Determines whether this instance and a specified object, which must also be a MongoGridFSFileInfo object, have the same value.
(Overrides ObjectEquals(Object).) | |
| Equals(MongoGridFSFileInfo) |
Determines whether this instance and another specified MongoGridFSFileInfo object have the same value.
| |
| Equals(MongoGridFSFileInfo, MongoGridFSFileInfo) |
Determines whether two specified MongoGridFSFileInfo objects have the same value.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Returns the hash code for this MongoGridFSFileInfo object.
(Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveTo |
Moves the most recent version of a GridFS file.
| |
| Open(FileMode) |
Opens a GridFS file with the specified mode.
| |
| Open(FileMode, FileAccess) |
Opens a GridFS file with the specified mode and access.
| |
| OpenRead |
Opens an existing GridFS file for reading.
| |
| OpenText |
Opens an existing UTF-8 encoded text GridFS file for reading.
| |
| OpenWrite |
Opens an existing GridFS file for writing.
| |
| Refresh |
Refreshes the GridFS file info from the server.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| 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.) |