[SerializableAttribute]
public class DayInstanceCollection : Collection<DayInstance>
<SerializableAttribute>
Public Class DayInstanceCollection
Inherits Collection(Of DayInstance)
[SerializableAttribute]
public ref class DayInstanceCollection : public Collection<DayInstance^>
[<SerializableAttribute>]
type DayInstanceCollection =
class
inherit Collection<DayInstance>
end
DayInstanceCollection | Default constructor |
DayInstanceCollection(IEnumerableDayInstance) | Construct a collection from an enumerable list of DayInstance objects |
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionDayInstance) |
Item | Gets or sets the element at the specified index. (Inherited from CollectionDayInstance) |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionDayInstance) |
Add(T) | Adds an object to the end of the CollectionT. (Inherited from CollectionDayInstance) |
Add(DayOfWeek) | Add a DayInstance to the collection and set it to all instances of the specified day of the week. |
Add(Int32, DayOfWeek) | Add a DayInstance to the collection and set it to the specified instance of the specified day of the week. |
AddRange(IEnumerableDayInstance) | Add a range of DayInstance objects from an enumerable list |
AddRange(IEnumerableDayOfWeek) | Add a range of DayOfWeek values to the collection. The instance for each entry will be set to zero to represent all days rather than a specific instance. |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionDayInstance) |
ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionDayInstance) |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionDayInstance) |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionDayInstance) |
Equals | Determines whether the specified object is equal to the current object. (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 CollectionT. (Inherited from CollectionDayInstance) |
GetHashCode | Serves as the default hash function. (Inherited from 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 CollectionT. (Inherited from CollectionDayInstance) |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionDayInstance) |
InsertItem |
Insert a day instance into the collection
(Overrides CollectionTInsertItem(Int32, T)) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionDayInstance) |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionDayInstance) |
RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionDayInstance) |
RemoveRange | Remove a range of items from the collection |
SetItem |
Set an item in the collection
(Overrides CollectionTSetItem(Int32, T)) |
ToString | Returns a string that represents the current object. (Inherited from Object) |