SynchronizedReadOnlyCollection<T> Properties

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements contained in the thread-safe, read-only collection.

System_CAPS_pubpropertyItem[Int32]

Gets an element from the thread-safe, read-only collection with a specified index.

System_CAPS_protpropertyItems

Gets the list of elements contained in the thread-safe, read-only collection.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<T>.IsReadOnly

This property always returns true because the collection is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList<T>.Item[Int32]

Returns the object in the collection that has the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

This property always returns true because the collection is thread safe.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

Gets the object used to synchronize access to the thread-safe, read-only collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsFixedSize

This property returns true because the read-only collection is always fixed in size.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsReadOnly

This property always returns true because the collection is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item[Int32]

Gets the item at a specified zero-based index.

Return to top
Show: