Partilhar via


Método Contains (Annotation)

Indicates whether the collection contains a specified Annotation.

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

Sintaxe

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

returnValue = instance.Contains(item)
public bool Contains(
    Annotation item
)
public:
bool Contains(
    Annotation^ item
)
member Contains : 
        item:Annotation -> bool 
public function Contains(
    item : Annotation
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the Annotation is contained in the collection; otherwise, false.