The ChildCollection<(Of <(<'TParent, TChild>)>)> type exposes the following members.

Constructors

  NameDescription
Protected methodChildCollection<(Of <(<'TParent, TChild>)>)>(TParent)
Initializes a new instance of the ChildCollection<(Of <(<'TParent, TChild>)>)> class.
Protected methodChildCollection<(Of <(<'TParent, TChild>)>)>(TParent, Int32)
Initializes a new instance of the ChildCollection<(Of <(<'TParent, TChild>)>)> class that has the specified initial capacity.

Methods

  NameDescription
Public methodAdd
Adds an object to the end of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Public methodClear
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Protected methodClearItems
Removes all elements from the collection.
(Overrides Collection<(Of <(<'T>)>)>..::..ClearItems()()()().)
Public methodContains
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Public methodCopyTo
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
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 ChildCollection<(Of <(<'TParent, TChild>)>)>.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetParent
Gets the parent of an 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 Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Public methodInsert
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Protected methodInsertItem
Inserts an element into the collection at the specified index.
(Overrides Collection<(Of <(<'T>)>)>..::..InsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
Public methodRemove
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Public methodRemoveAt
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Protected methodRemoveItem
Removes the element at the specified index of the collection.
(Overrides Collection<(Of <(<'T>)>)>..::..RemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides Collection<(Of <(<'T>)>)>..::..SetItem(Int32, T).)
Protected methodSetParent
Sets the parent of the given object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCount
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Protected propertyItems (Inherited from Collection<(Of <(<'TChild>)>)>.)
Public propertyParent
Gets (or sets) the parent which owns this child collection.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIList..::..Add
Adds an item to the IList.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate methodIList..::..Contains
Determines whether the IList contains a specific value.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate methodICollection..::..CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate methodIList..::..IndexOf
Determines the index of a specific item in the IList.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate methodIList..::..Insert
Inserts an item into the IList at the specified index.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate propertyIList..::..IsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate propertyICollection<(Of <<'(T>)>>)..::..IsReadOnly
Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate propertyIList..::..IsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate propertyIList..::..Item
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate methodIList..::..Remove
Removes the first occurrence of a specific object from the IList.
(Inherited from Collection<(Of <(<'TChild>)>)>.)
Explicit interface implemetationPrivate propertyICollection..::..SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Collection<(Of <(<'TChild>)>)>.)

See Also