ReadOnlyList Class

Readonly collection of elements of type T, not synchronized

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
    Microsoft.TeamFoundation.WorkItemTracking.Client.FieldCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.NodeCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.RegisteredLinkTypeCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.RevisionCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.ValuesCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
    Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeCollection

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Common
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public MustInherit Class ReadOnlyList _
    Implements IList, ICollection, IEnumerable
public abstract class ReadOnlyList : IList, 
    ICollection, IEnumerable
public ref class ReadOnlyList abstract : IList, 
    ICollection, IEnumerable
[<AbstractClass>]
type ReadOnlyList =  
    class 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public abstract class ReadOnlyList implements IList, ICollection, IEnumerable

The ReadOnlyList type exposes the following members.

Constructors

  Name Description
Protected method ReadOnlyList

Top

Properties

  Name Description
Public property Count
Public property IsFixedSize Obsolete.
Public property IsReadOnly Obsolete.
Public property IsSynchronized Obsolete.
Public property SyncRoot Obsolete.

Top

Methods

  Name Description
Public method CopyTo Obsolete.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetItem
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add
Explicit interface implemetationPrivate method IList.Clear
Explicit interface implemetationPrivate method IList.Contains
Explicit interface implemetationPrivate method ICollection.CopyTo
Explicit interface implemetationPrivate property ICollection.Count
Explicit interface implemetationPrivate method IList.IndexOf
Explicit interface implemetationPrivate method IList.Insert
Explicit interface implemetationPrivate property IList.IsFixedSize
Explicit interface implemetationPrivate property IList.IsReadOnly
Explicit interface implemetationPrivate property ICollection.IsSynchronized
Explicit interface implemetationPrivate property IList.Item
Explicit interface implemetationPrivate method IList.Remove
Explicit interface implemetationPrivate method IList.RemoveAt
Explicit interface implemetationPrivate property ICollection.SyncRoot

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Common Namespace