Click or drag to resize
IMongoIndexManager<TDocument>.List Method
Lists the indexes.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax
IAsyncCursor<BsonDocument> List(
	CancellationToken cancellationToken = null
)

Parameters

cancellationToken (Optional)
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: IAsyncCursor<BsonDocument>
A cursor.
See Also