AnnotationCollection.Remove Method (Annotation)
Removes the specified Annotation from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As Annotation _
)
'Usage
Dim instance As AnnotationCollection
Dim item As Annotation
instance.Remove(item)
public void Remove(
Annotation item
)
public:
void Remove(
Annotation^ item
)
member Remove :
item:Annotation -> unit
public function Remove(
item : Annotation
)
Parameters
- item
Type: Microsoft.AnalysisServices.Annotation
The Annotation to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |