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
- item
Type: Microsoft.AnalysisServices.Annotation
The Annotation to be added.
Return Value
Type: System.Int32
The zero-based index at which the Annotation has been added.