Collection Methods

 

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

NameDescription
System_CAPS_pubmethodAdd(Object, String, Object, Object)

Adds an element to a Collection object.

System_CAPS_pubmethodClear()

Deletes all elements of a Visual Basic Collection object.

System_CAPS_pubmethodContains(String)

Returns a Boolean value indicating whether a Visual Basic Collection object contains an element with a specific key.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a reference to an enumerator object, which is used to iterate over a Collection object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRemove(Int32)

Removes an element from a Collection object.

System_CAPS_pubmethodRemove(String)

Removes an element from a Collection object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the elements of the Collection to an Array, starting at a particular Array index. Implements the ICollection interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection. Implements the ICollection interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the Collection object. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all items from the Collection object. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Determines whether the Collection object contains a specific value. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the Collection object. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the Collection object at the specified index. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specific object from the Collection object. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the Collection object item at the specified index. Implements the IList interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDeserializationCallback.OnDeserialization(Object)

Runs after the entire Collection object graph has been deserialized. Implements the IDeserializationCallback interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Returns the data needed to serialize the Collection object. Implements the ISerializable interface.

Return to top
Show: