ThreadSafeReadOnlyObservableCollection<T> Class

 

Represents a read-only observable collection that is thread safe.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)


generic<typename T>
public ref class ThreadSafeReadOnlyObservableCollection : IList<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, 
	INotifyPropertyChanged, INotifyCollectionChanged

Type Parameters

T

The type of elements in the collection.

NameDescription
System_CAPS_pubmethodThreadSafeReadOnlyObservableCollection<T>(ObservableCollection<T>^)

Initializes a new instance of the ThreadSafeReadOnlyObservableCollection<T> class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements in the collection.

System_CAPS_pubpropertyIsReadOnly

Indicates whether the collection is read only.

System_CAPS_pubpropertyItem[Int32]

Gets the item at the specified index from the collection.

NameDescription
System_CAPS_pubmethodContains(T)

Determines whether the collection contains a specified item.

System_CAPS_pubmethodContains(Object^)

Determines whether the collection contains a specified value.

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

Copies the elements of the collection to an array, starting at a specified index.

System_CAPS_pubmethodCopyTo(Array^, Int32)

Copies the elements of the collection to an array, starting at a specified index.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

Returns the index of the first occurrence of an object in the collection.

System_CAPS_pubmethodIndexOf(Object^)

Returns the index of the first occurrence of an object in the collection.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(T)

Removes the specified item from the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

Represents an event that occurs when an item is added or removed.

System_CAPS_pubeventPropertyChanged

Represents an event that occurs when a property value changes.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Add(T)

Adds the specified item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Clear()

Clears the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<T>::Insert(Int32, T)

Inserts the specified item into the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<T>::RemoveAt(Int32)

Removes the item at the specified index from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable::GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Add(Object^)

Adds the specified value to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Clear()

Clears the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Insert(Int32, Object^)

Inserts the specified value into the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Remove(Object^)

Removes the specified value from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::RemoveAt(Int32)

Removes the value at the specified index from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection::IsSynchronized

Indicates whether the collection is synchronized.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection::SyncRoot

Gets an object that can be used to synchronize access to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList::IsFixedSize

Indicates whether the collection is a fixed size.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList::Item[Int32]

Gets the item at the specified index from the collection.

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

Return to top

Community Additions

ADD
Show: