AnnotationCollection.Item Property (Int32)

 

Applies To: SQL Server (starting with 2016)

Gets the Annotation at the specified index from the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Syntax

public Annotation this[
    int index
] { get; }
public:
property Annotation^ default[
    int index
] {
    Annotation^ get(int index);
}
member Item : 
        index:int -> Annotation with get
Public ReadOnly Property Item (
    index As Integer
) As Annotation

Parameters

Property Value

Type: Microsoft.AnalysisServices.Annotation

The Annotation at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

See Also

Item Overload
AnnotationCollection Class
Microsoft.AnalysisServices Namespace

Return to top