你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithIndex<ParentT> 接口

定义

允许设置索引的 mongo 集合定义的阶段。

public interface IWithIndex<ParentT>
type IWithIndex<'ParentT> = interface
Public Interface IWithIndex(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

派生

方法

WithIndex(MongoIndex)

指定 mongo 索引。

WithIndex(MongoIndexKeys, MongoIndexOptions)

指定 mongo 索引。

WithIndexes(IList<MongoIndex>)

将所有 mongo 索引追加到当前索引。

适用于