Table of Contents

Method GetCollectionNames

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

GetCollectionNames()

Gets a list of the names of all the collections in this database.

public virtual IEnumerable<string> GetCollectionNames()

Returns

IEnumerable<string>

A list of collection names.