AnnotationCollection.Item[] 属性

定义

重载

Item[Int32]

获取指定索引处的 Annotation 元素。

Item[String]

获取具有指定名称的 Annotation 元素。

Item[Int32]

获取指定索引处的 Annotation 元素。

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

参数

index
Int32

要获取的元素的索引(索引从零开始)。

属性值

指定索引处的 Annotation 元素。

例外

指定的索引无效。

适用于

Item[String]

获取具有指定名称的 Annotation 元素。

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

参数

name
String

要获取的元素的名称。

属性值

具有指定名称的 Annotation 元素。

例外

集合中不存在具有指定名称的元素。

适用于