AnnotationCollection.Contains Method (Annotation)
Indicates whether the collection contains a specified Annotation.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As Annotation _
) As Boolean
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.Annotation
The Annotation to be located.
Return Value
Type: System.Boolean
true if the Annotation is contained in the collection; otherwise, false.