Collection Properties

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Collection type exposes the following members.

Properties

  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

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property ICollection.Count Gets the number of items in this collection. Implements the ICollection interface.
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a value indicating whether access to the Collection object is synchronized (thread safe). Implements the ICollection interface.
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that can be used to synchronize access to the Collection object. Implements the ICollection interface.
Explicit interface implemetationPrivate property IList.IsFixedSize Gets a value indicating whether the Collection object has a fixed size. Implements the IList interface.
Explicit interface implemetationPrivate property IList.IsReadOnly Gets a value indicating whether the Collection object is read-only. Implements the IList interface.
Explicit interface implemetationPrivate property IList.Item Gets or sets the element at the specified index. Implements the IList interface

Top