The ChildCollection<(Of <(<'TParent, TChild>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ChildCollection<(Of <(<'TParent, TChild>)>)>(TParent) |
Initializes a new instance of the ChildCollection<(Of <(<'TParent, TChild>)>)> class.
| |
| ChildCollection<(Of <(<'TParent, TChild>)>)>(TParent, Int32) |
Initializes a new instance of the ChildCollection<(Of <(<'TParent, TChild>)>)> class that
has the specified initial capacity.
|
Methods
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| Clear | Removes all elements from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| ClearItems |
Removes all elements from the collection.
(Overrides Collection<(Of <(<'T>)>)>..::..ClearItems()()()().) | |
| Contains | Determines whether an element is in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| CopyTo | 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>)>)>.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the ChildCollection<(Of <(<'TParent, TChild>)>)>.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetParent |
Gets the parent of an object.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | 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>)>)>.) | |
| Insert | Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| InsertItem |
Inserts an element into the collection at the specified index.
(Overrides Collection<(Of <(<'T>)>)>..::..InsertItem(Int32, T).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Move |
Moves the item at the specified index to a new location in the collection.
| |
| MoveItem |
Moves the item at the specified index to a new location in the collection.
| |
| Remove | Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| RemoveAt | Removes the element at the specified index of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| RemoveItem |
Removes the element at the specified index of the collection.
(Overrides Collection<(Of <(<'T>)>)>..::..RemoveItem(Int32).) | |
| SetItem |
Replaces the element at the specified index.
(Overrides Collection<(Of <(<'T>)>)>..::..SetItem(Int32, T).) | |
| SetParent |
Sets the parent of the given object.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| Item | Gets or sets the element at the specified index. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| Items | Gets a IList<(Of <(<'T>)>)> wrapper around the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| Parent |
Gets (or sets) the parent which owns this child collection.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IList..::..Add | Adds an item to the IList. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..Contains | Determines whether the IList contains a specific value. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| ICollection..::..CopyTo | (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IEnumerable..::..GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..IndexOf | Determines the index of a specific item in the IList. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..Insert | Inserts an item into the IList at the specified index. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..IsFixedSize | Gets a value indicating whether the IList has a fixed size. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| ICollection<(Of <<'(T>)>>)..::..IsReadOnly | Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..IsReadOnly | Gets a value indicating whether the IList is read-only. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| ICollection..::..IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..Item | Gets or sets the element at the specified index. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| IList..::..Remove | Removes the first occurrence of a specific object from the IList. (Inherited from Collection<(Of <(<'TChild>)>)>.) | |
| ICollection..::..SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from Collection<(Of <(<'TChild>)>)>.) |