Click or drag to resize

AnnotationUICollection Methods

The AnnotationUICollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a single annotation to the collection.
Public methodAddRange(AnnotationUI)
Adds an array of annotations to the collection.
Public methodAddRange(AnnotationUICollection)
Adds annotations from another AnnotationUICollection to this collection.
Public methodClear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public methodClone
Creates a copy of this collection and all items it contains.
Public methodContains
Determines if an annotation is contained within the collection.
Public methodCopyTo(AnnotationUI)
Copies all of the items from this collection into an array.
Public methodCopyTo(AnnotationUI, Int32)
Copies items into the specifed array.
Public methodCopyTo(Int32, AnnotationUI, Int32, Int32)
Copies annotations from this collection into an array.
Public methodDispose
Disposes this collection and all items it contains.
Protected methodDispose(Boolean)
Releases resources used by this object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the AnnotationUICollection class.
(Overrides ObjectFinalize.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Fills a SerializationInfo object with information about this collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of a specified annotation.
Public methodInsert
Inserts an annotation into the collection at the specified position.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClear
Called when the Clear method is used.
(Overrides CollectionBaseOnClear.)
Protected methodOnClearComplete
Called when the clear operation has finished.
(Overrides CollectionBaseOnClearComplete.)
Protected methodOnCollectionChanged
Called when there is a change to the collection.
Public methodOnDeserialization
Called after an object has been fully deserialized by a serialization formatter.
Protected methodOnInsert
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsertComplete
Called when an insert operation has finished.
(Overrides CollectionBaseOnInsertComplete(Int32, Object).)
Protected methodOnRemove
Called when an annotation is removed from the collection.
(Overrides CollectionBaseOnRemove(Int32, Object).)
Protected methodOnRemoveComplete
Called when a remove operation has finished.
(Overrides CollectionBaseOnRemoveComplete(Int32, Object).)
Protected methodOnSet
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSetComplete
Called when an item has been swapped with another.
(Overrides CollectionBaseOnSetComplete(Int32, Object, Object).)
Protected methodOnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public methodRemove(AnnotationUI)
Removes an annotation from the collection.
Public methodRemove(AnnotationUI)
Removes multiple annotations from the collection.
Public methodRemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also