Compartilhar via


Método IndexOf (Annotation)

Gets the index of a specified Annotation.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As Annotation _
) As Integer
'Uso
Dim instance As AnnotationCollection
Dim item As Annotation
Dim returnValue As Integer

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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Int32
The zero-based index of the Annotation, if the object is found; otherwise, -1.