AnnotationCollection.IndexOf Method (Annotation)
Applies To: SQL Server (starting with 2016)
Gets the index of a specified Annotation.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public int IndexOf(
Annotation item
)
public:
int IndexOf(
Annotation^ item
)
member IndexOf :
item:Annotation -> int
Public Function IndexOf (
item As Annotation
) As Integer
Parameters
item
Type: Microsoft.AnalysisServices.AnnotationThe Annotation to be returned.
Return Value
Type: System.Int32
The zero-based index of the Annotation, if the object is found; otherwise, -1.
See Also
IndexOf Overload
AnnotationCollection Class
Microsoft.AnalysisServices Namespace
Return to top