Partager via


Contains méthode (Annotation)

Indicates whether the collection contains a specified Annotation.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    item As Annotation _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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