Partager via


Membres AnnotationCollection

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

Le type AnnotationCollection expose les membres suivants.

Constructeurs

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

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

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