The StatusCollection type exposes the following members.

Constructors

  Name Description
Public method StatusCollection
Initializes a new instance of the StatusCollection class.

Methods

  Name Description
Public method Add
Adds a new custom object to the collection. If the item already exists in the collection, its index is returned.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public method AddRange(array<T>[]()[][])
Adds an array of objects to the collection. This methods clears the collection before adding new items. Don't use it if you want to keep preexisting items.
(Inherited from BaseCollection<(Of <(<'T>)>)>BaseCollection<(Of <(<'T>)>)>.)
Public method Contains(Int32)
Check if collection contains an item with specified index.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public method Contains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollection<(Of <(<'Guid, Status>)>)>KeyedCollection<(Of <(<'TKey, TItem>)>)>.)
Public method Contains(T)
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Status>)>)>Collection<(Of <(<'T>)>)>.)
Public method 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 <(<'Status>)>)>.)
Public method 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 <(<'Status>)>)>.)
Public method Insert
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'Status>)>)>.)
Public method LoadDefaults
Restores the collection to its default state.
Public method Remove(TKey)
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'Guid, Status>)>)>KeyedCollection<(Of <(<'TKey, TItem>)>)>.)
Public method Remove(T)
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Status>)>)>Collection<(Of <(<'T>)>)>.)

Properties

  Name Description
Public property Comparer
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollection<(Of <(<'Guid, Status>)>)>.)
Public property Item[([( Guid])])
Gets the element with the specified key if any.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public property Item[([( Int32])])
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'Status>)>)>Collection<(Of <(<'T>)>)>.)
Public property Item[([( StatusTypeEnum])])
Gets the Status object specified by the appointment status type. For custom statuses returns the first occurrence. If there is no such Status object in the collection, returns null.

See Also