MongoGridFSFileInfo Class |
Namespace: MongoDB.Driver.GridFS
The MongoGridFSFileInfo type exposes the following members.
Name | Description | |
---|---|---|
MongoGridFSFileInfo(MongoGridFS, String) | Obsolete.
Initializes a new instance of the GridFSFileInfo class.
| |
MongoGridFSFileInfo(MongoGridFS, String, MongoGridFSCreateOptions) | Obsolete.
Initializes a new instance of the GridFSFileInfo class.
| |
MongoGridFSFileInfo(MongoGridFS, String, Int32) | Obsolete.
Initializes a new instance of the GridFSFileInfo class.
| |
MongoGridFSFileInfo(MongoServer, MongoServerInstance, String, MongoGridFSSettings, BsonDocument) |
Initializes a new instance of the MongoGridFSFileInfo class.
| |
MongoGridFSFileInfo(MongoServer, MongoServerInstance, String, MongoGridFSSettings, String) |
Initializes a new instance of the MongoGridFSFileInfo class.
| |
MongoGridFSFileInfo(MongoServer, MongoServerInstance, String, MongoGridFSSettings, String, MongoGridFSCreateOptions) |
Initializes a new instance of the MongoGridFSFileInfo class.
|
Name | Description | |
---|---|---|
Aliases |
Gets the aliases.
| |
ChunkSize |
Gets the chunk size.
| |
ContentType |
Gets the content type.
| |
DatabaseName |
Gets the database name.
| |
Exists |
Gets a value indicating whether the GridFS file exists.
| |
GridFS |
Gets the GridFS file system that contains this GridFS file.
| |
GridFSSettings |
Gets the GridFS settings.
| |
Id |
Gets the GridFS file Id.
| |
Length |
Gets the file lenth.
| |
MD5 |
Gets the MD5 hash of the file contents.
| |
Metadata |
Gets the metadata.
| |
Name |
Gets the remote file name.
| |
Server |
Gets the server.
| |
ServerInstance |
Gets the server instance;
| |
UploadDate |
Gets the upload date.
|
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 | (Inherited from Object.) | |
GetHashCode |
Returns the hash code for this MongoGridFSFileInfo object.
(Overrides ObjectGetHashCode.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (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 | (Inherited from Object.) |
Name | Description | |
---|---|---|
Equality |
Determines whether two specified MongoGridFSFileInfo objects have the same value.
| |
Inequality |
Determines whether two specified MongoGridFSFileInfo objects have different values.
|
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.) |