Click or drag to resize

AnnotationDataCollectionT Class

This class can be used to hold a collection of AnnotationData objects.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionT
    Atalasoft.AnnotateAnnotationDataCollectionT

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntax
public class AnnotationDataCollection<T> : Collection<T>, 
	ICloneable, IDeserializationCallback
where T : AnnotationData

Type Parameters

T

The AnnotationDataCollectionT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionT.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Protected propertyItems
Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionT.)
Top
Methods
  NameDescription
Public methodAdd
Adds an object to the end of the CollectionT.
(Inherited from CollectionT.)
Public methodClear
Removes all elements from the CollectionT.
(Inherited from CollectionT.)
Protected methodClearItems
Removes all elements from the CollectionT.
(Overrides CollectionTClearItems.)
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodContains
Determines whether an element is in the CollectionT.
(Inherited from CollectionT.)
Public methodCopyTo
Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionT.)
Public methodInsert
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionT.)
Protected methodInsertItem
Inserts an element into the CollectionT at the specified index.
(Overrides CollectionTInsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCollectionChanged
Called when there is a change in the collection.
Public methodOnDeserialization
Runs when the entire object graph has been deserialized.
Public methodRemove
Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionT.)
Public methodRemoveAt
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionT.)
Protected methodRemoveItem
Removes the element at the specified index of the CollectionT.
(Overrides CollectionTRemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides CollectionTSetItem(Int32, T).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAnnotationControllerNotification
Raised after a property has been changed.
Public eventCollectionChanged
Raised when the collection has changed.
Public eventPropertyChanging
Raised before a property is changed.
Top
Remarks
The LayerData object makes use of this class to hold the AnnotationData for the layer. In most cases there is no need to create an instance of this class.
See Also