Share via


AnnotationCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets the Annotation element at the specified index.

Item[String]

Gets the Annotation element with the specified name.

Item[Int32]

Gets the Annotation element at the specified index.

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

Parameters

index
Int32

The zero-based index of the element to get.

Property Value

The Annotation element at the specified index.

Exceptions

The specified index is not a valid.

Applies to

Item[String]

Gets the Annotation element with the specified name.

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

Parameters

name
String

The name of the element to get.

Property Value

The Annotation element with the specified name.

Exceptions

An element with the specified name does not exists in the collection.

Applies to