| MongoDBUtilityDelete Method (String, String) |
Deletes the specified id and it's associated document from the specified collection.
Namespace:
Galactic.NoSql.MongoDB
Assembly:
Galactic.NoSql.MongoDB (in Galactic.NoSql.MongoDB.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool Delete(
string id,
string collection
)
Public Function Delete (
id As String,
collection As String
) As Boolean
public:
bool Delete(
String^ id,
String^ collection
)
member Delete :
id : string *
collection : string -> bool
Parameters
- id
- Type: SystemString
The name of the id to delete. - collection
- Type: SystemString
The name of the collection to delete the document in.
Return Value
Type:
BooleanTrue if the id/document was deleted, false if there was an error or it could not otherwise be deleted.
See Also