Classe AnnotationCollection

Contains a collection of Annotation objects. This class cannot be inherited.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices..::..AnnotationCollection

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

Syntaxe

'Déclaration
<GuidAttribute("660FA3D1-97B1-4c33-86AF-8F4381D4317E")> _
Public NotInheritable Class AnnotationCollection _
    Implements IList, ICollection, IEnumerable
'Utilisation
Dim instance As AnnotationCollection
[GuidAttribute("660FA3D1-97B1-4c33-86AF-8F4381D4317E")]
public sealed class AnnotationCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"660FA3D1-97B1-4c33-86AF-8F4381D4317E")]
public ref class AnnotationCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("660FA3D1-97B1-4c33-86AF-8F4381D4317E")>]
type AnnotationCollection =  
    class
        interface IList
        interface ICollection
        interface IEnumerable
    end
public final class AnnotationCollection implements IList, ICollection, IEnumerable

Le type AnnotationCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique AnnotationCollection Initializes a new instance of Annotation.

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Gets the number of Annotation objects contained in the collection.
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets the Annotation at the specified index from the collection.
Propriété publique Item[ ( [ ( String] ) ] ) Gets the Annotation, with the specified name, from the collection.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add(Annotation) Adds an Annotation to the end of the collection.
Méthode publique Add(String, String) Creates and adds an Annotation, with the specified name and value, to the end of the collection.
Méthode publique Clear Removes all elements from the collection.
Méthode publique Contains(String) Indicates whether the collection contains an Annotation with the specified name.
Méthode publique Contains(Annotation) Indicates whether the collection contains a specified Annotation.
Méthode publique CopyTo(AnnotationCollection) Copies the entire collection to the end of an AnnotationCollection.
Méthode publique CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique Find Gets the Annotation, with the specified name, from the collection.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetText Gets the value of the Annotation, with the specified name.
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf(String) Gets the index of an Annotation with the specified name.
Méthode publique IndexOf(Annotation) Gets the index of a specified Annotation.
Méthode publique Insert(Int32, Annotation) Inserts an Annotation into the collection at the specified index.
Méthode publique Insert(Int32, String, String) Creates and inserts an Annotation, with the specified name and value, into the collection at the specified index.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Remove(String) Removes the Annotation, with the specified name, from the collection.
Méthode publique Remove(Annotation) Removes the specified Annotation from the collection.
Méthode publique RemoveAt Removes the Annotation at the specified index from the collection.
Méthode publique SetText(String, Boolean) Sets the Annotation, with the specified name, to a specified Boolean value.
Méthode publique SetText(String, Int32) Sets the Annotation, with the specified name, to a specified Int32 value.
Méthode publique SetText(String, String) Sets the Annotation, with the specified name, to a specified String value.
Méthode publique SetText(String, String, Boolean) Sets the Annotation, with the specified name, to a specified String value. Can also be used to remove a named annotation if it is set to a null reference.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.