Share via


AnnotationCollection Miembros

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

El tipo AnnotationCollection expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico AnnotationCollection Initializes a new instance of Annotation.

Principio

Métodos

  Nombre Descripción
Método publico Add(Annotation) Adds an Annotation to the end of the collection.
Método publico Add(String, String) Creates and adds an Annotation, with the specified name and value, to the end of the collection.
Método publico Clear Removes all elements from the collection.
Método publico Contains(String) Indicates whether the collection contains an Annotation with the specified name.
Método publico Contains(Annotation) Indicates whether the collection contains a specified Annotation.
Método publico CopyTo(AnnotationCollection) Copies the entire collection to the end of an AnnotationCollection.
Método publico CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico Find Gets the Annotation, with the specified name, from the collection.
Método publico GetHashCode (Se hereda de Object).
Método publico GetText Gets the value of the Annotation, with the specified name.
Método publico GetType (Se hereda de Object).
Método publico IndexOf(String) Gets the index of an Annotation with the specified name.
Método publico IndexOf(Annotation) Gets the index of a specified Annotation.
Método publico Insert(Int32, Annotation) Inserts an Annotation into the collection at the specified index.
Método publico Insert(Int32, String, String) Creates and inserts an Annotation, with the specified name and value, into the collection at the specified index.
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Remove(String) Removes the Annotation, with the specified name, from the collection.
Método publico Remove(Annotation) Removes the specified Annotation from the collection.
Método publico RemoveAt Removes the Annotation at the specified index from the collection.
Método publico SetText(String, Boolean) Sets the Annotation, with the specified name, to a specified Boolean value.
Método publico SetText(String, Int32) Sets the Annotation, with the specified name, to a specified Int32 value.
Método publico SetText(String, String) Sets the Annotation, with the specified name, to a specified String value.
Método publico 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étodo publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of Annotation objects contained in the collection.
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets the Annotation at the specified index from the collection.
Propiedad pública Item[ ( [ ( String] ) ] ) Gets the Annotation, with the specified name, from the collection.

Principio