Collection Members
Collapse the table of content
Expand the table of content

Collection Members

A Visual Basic Collection is an ordered set of items that can be referred to as a unit.

The following tables list the members exposed by the Collection type.

  Name Description
Public method Supported by the .NET Compact Framework Collection Creates and returns a new Visual BasicCollection Object (Visual Basic).
Top

  Name Description
Public property Supported by the .NET Compact Framework Count Returns an Integer containing the number of elements in a collection. Read-only.
Public property Supported by the .NET Compact Framework Item Overloaded. Returns a specific element of a Collection object either by position or by key. Read-only.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Adds an element to a Collection object.
Public method Supported by the .NET Compact Framework Clear Deletes all elements of a Visual Basic Collection object.
Public method Supported by the .NET Compact Framework Contains Returns a Boolean value indicating whether a Visual Basic Collection object contains an element with a specific key.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetEnumerator Returns a reference to an enumerator object, which is used to iterate over a Collection Object (Visual Basic).
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Overloaded. Removes an element from a Collection object.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework 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)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2016 Microsoft