Collection Properties

The Collection type exposes the following members.

  Name Description
Public property Count Returns an Integer containing the number of elements in a collection. Read-only.
Public property Item[Int32] Returns a specific element of a Collection object either by position or by key. Read-only.
Public property Item[Object] Returns a specific element of a Collection object either by position or by key. Read-only.
Public property Item[String] Returns a specific element of a Collection object either by position or by key. Read-only.
Top

  Name Description
Explicit interface implemetation Private property ICollection.Count Gets the number of items in this collection. Implements the ICollection interface.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value indicating whether access to the Collection object is synchronized (thread safe). Implements the ICollection interface.
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the Collection object. Implements the ICollection interface.
Explicit interface implemetation Private property IList.IsFixedSize Gets a value indicating whether the Collection object has a fixed size. Implements the IList interface.
Explicit interface implemetation Private property IList.IsReadOnly Gets a value indicating whether the Collection object is read-only. Implements the IList interface.
Explicit interface implemetation Private property IList.Item Gets or sets the element at the specified index. Implements the IList interface
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft