The OverlayCollection type exposes the following members.

Constructors

  NameDescription
Public methodOverlayCollection()()()()
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(Guid)
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(String)
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(Uri)
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(IEnumerable<(Of <<'(OverlayBase>)>>))
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(String, DataFormat)
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(String, Boolean)
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(Uri, DataFormat)
Initializes a new instance of the OverlayCollection class.
Public methodOverlayCollection(String, Boolean, DataFormat)
Initializes a new instance of the OverlayCollection class.

Methods

  NameDescription
Public methodAdd(Object)
Adds an item to the IList.
Public methodAdd(OverlayBase)
Adds an overlay to the collection.
Public methodAddParsedSubObject
Add the parsed object to the collection if it is a OverlayBase.
Public methodAddRange
Adds the passed OverlayBase to the collection.
Public methodClear
Clears the overlay collection.
Public methodContains(Object)
Determines whether the IList contains a specific value.
Public methodContains(OverlayBase)
Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value.
Public methodCopyTo(Array, Int32)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Public methodCopyTo(array<OverlayBase>[]()[][], Int32)
Copies the elements of the ICollection<(Of <(<'T>)>)> to an Array, starting at a particular Array index.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists(Guid)
Checks whether the given overlay exists in the collection.
Public methodExists(OverlayBase)
Checks whether the given overlay exists in the collection.
Public methodExists(Map, String)
Checks whether the given overlay exists in the collection.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(Object)
Determines the index of a specific item in the IList.
Public methodIndexOf(OverlayBase)
Determines the index of a specific item in the IList<(Of <(<'T>)>)>.
Public methodInsert(Int32, OverlayBase)
Inserts a OverlayBase at the specified index of the collection.
Public methodInsert(Int32, Object)
Inserts an item to the IList at the specified index.
Public methodRemove(Object)
Removes the first occurrence of a specific object from the IList.
Public methodRemove(OverlayBase)
Removes a given overlay from the collection.
Public methodRemoveAll
Removes overlays from the collection that match the given Predicate<(Of <(<'T>)>)>.
Public methodRemoveAt
Removes the overlay at the specified index in the collection.
Public methodToString()()()()
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.

Operators

  NameDescription
Public operatorStatic memberAddition(OverlayCollection, OverlayBase)
Adds a OverlayBase to the collection.
Public operatorStatic memberAddition(OverlayCollection, IEnumerable<(Of <<'(OverlayBase>)>>))
Adds a List<(Of <(<'T>)>)> to the collection.
Public operatorStatic memberSubtraction
Removes a OverlayBase from the collection.

Extension Methods

  NameDescription
Public Extension MethodForEach<(Of <<'(OverlayBase>)>>)
Performs the passed action on each item in the collection.
(Defined by Extensions.)

Properties

  NameDescription
Public propertyBounds
Gets the combined bounds of all the overlays in the collection.
Public propertyCount
Gets the number of elements contained in the ICollection<(Of <(<'T>)>)>.
Public propertyID
Gets the ID for the collection.
Public propertyIsFixedSize
Gets a value indicating whether the IList has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Public propertyItem[([( Guid])])
Holds a collection of OverlayBase
Public propertyItem[([( Int32])])
Holds a collection of OverlayBase
Public propertyItem[([( Map, String])])
Holds a collection of OverlayBase
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.

Events

  NameDescription
Public eventOverlayAdded
Triggered when a OverlayBase is removed from the collection.
Public eventOverlayRemoved
Triggered when a OverlayBase is added to the collection.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate propertyIList<(Of <<'(OverlayBase>)>>)..::..Item
Explicit interface implemetationPrivate propertyIList..::..Item
Gets or sets the element at the specified index.

See Also