The SingletonList<(Of <(T>)>) type exposes the following members.

Constructors

  NameDescription
SingletonList<(Of <(T>)>)
Construct a new one-item list.

Methods

  NameDescription
Add
Adds an item to the ICollection<(Of <(T>)>).
Clear
Removes all items from the ICollection<(Of <(T>)>).
Contains
Determines whether the ICollection<(Of <(T>)>) contains a specific value.
CopyTo
Copies the elements of the ICollection<(Of <(T>)>) to an Array, starting at a particular Array index.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator
Returns an enumerator that iterates through the collection.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf
Determines the index of a specific item in the IList<(Of <(T>)>).
Insert
Inserts an item to the IList<(Of <(T>)>) at the specified index.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove
Removes the first occurrence of a specific object from the ICollection<(Of <(T>)>).
RemoveAt
Removes the IList<(Of <(T>)>) item at the specified index.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Count
Gets the number of elements contained in the ICollection<(Of <(T>)>).
IsReadOnly
Gets a value indicating whether the ICollection<(Of <(T>)>) is read-only.
Item
Gets or sets the element at the specified index.

See Also