AnnotationCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(Annotation) |
Determines whether the specified Annotation exists in the collection. |
Contains(String) |
Determines whether an Annotation with the specified Name exists in the collection. |
Contains(Annotation)
Determines whether the specified Annotation exists in the collection.
public bool Contains (Microsoft.AnalysisServices.Annotation item);
member this.Contains : Microsoft.AnalysisServices.Annotation -> bool
Public Function Contains (item As Annotation) As Boolean
Parameters
- item
- Annotation
The Annotation whose existence is checked.
Returns
True, if the specified Annotation is found in the collection; otherwise, false.
Applies to
Contains(String)
Determines whether an Annotation with the specified Name exists in the collection.
public bool Contains (string name);
member this.Contains : string -> bool
Public Function Contains (name As String) As Boolean
Parameters
- name
- String
The Name of the Annotation whose existence is checked.
Returns
True, if an Annotation with the specified Name is found in the collection; otherwise, false.