DataSourceViewCollection.Item[] 属性

定义

重载

Item[Int32]

从集合中的指定索引处获取 DataSourceView

Item[String]

从集合中获取具有指定标识符的 DataSourceView

Item[Int32]

从集合中的指定索引处获取 DataSourceView

public Microsoft.AnalysisServices.DataSourceView this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.DataSourceView
Default Public ReadOnly Property Item(index As Integer) As DataSourceView

参数

index
Int32

要返回的 DataSourceView 的从零开始的索引。

属性值

指定索引处的 DataSourceView

例外

指定的索引不是有效值(小于零或大于元素总数)。

适用于

Item[String]

从集合中获取具有指定标识符的 DataSourceView

public Microsoft.AnalysisServices.DataSourceView this[string id] { get; }
member this.Item(string) : Microsoft.AnalysisServices.DataSourceView
Default Public ReadOnly Property Item(id As String) As DataSourceView

参数

id
String

要返回的 DataSourceView 的标识符。

属性值

DataSourceView具有指定标识符的标识符。

例外

集合中不包含具有指定标识符的 DataSourceView

适用于