Delen via


AnnotationCollection.Add Method (Annotation)

Adds an Annotation to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Annotation _
) As Integer
'Usage
Dim instance As AnnotationCollection
Dim item As Annotation
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    Annotation item
)
public:
int Add(
    Annotation^ item
)
member Add : 
        item:Annotation -> int 
public function Add(
    item : Annotation
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the Annotation has been added.