Export (0) Print
Expand All

FilteredObservableCollection<T> Class

Represents a filtered observable collection.

System.Object
  Microsoft.VisualStudio.Language.Intellisense.FilteredObservableCollection<T>

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

public class FilteredObservableCollection<T> : IList, 
	ICollection, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, 
	INotifyCollectionChanged

Type Parameters

T

The type of the collection.

The FilteredObservableCollection<T> type exposes the following members.

  NameDescription
Public methodFilteredObservableCollection<T>Initializes a new instance of FilteredObservableCollection<T>.
Top

  NameDescription
Public propertyCountGets the number of items in the collection.
Public propertyIsFixedSizeDetermines whether this collection has a fixed size.
Public propertyIsReadOnlyDetermines whether this collection is read-only.
Public propertyIsSynchronizedDetermines whether the collection is synchronized.
Public propertyItemGets the item at the specified location.
Public propertySyncRootGets the object used to synchronize the collection.
Top

  NameDescription
Public methodAdd(Object)Since this collection is read-only, throws an InvalidOperationException.
Public methodAdd(T)Since this collection is read-only, throws an InvalidOperationException.
Public methodClearSince this collection is read-only, throws an InvalidOperationException.
Public methodContains(Object)Determines whether the collection contains the specified object.
Public methodContains(T)Determines whether the collection contains the specified item.
Public methodCopyTo(Array, Int32)Since this collection is read-only, throws an InvalidOperationException.
Public methodCopyTo(T[], Int32)Since this collection is read-only, throws an InvalidOperationException.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodFilterFilters the collection by the specified predicate.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorGets the enumerator.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOf(Object)Gets the location of the specified item.
Public methodIndexOf(T)Gets the location of the specified item.
Public methodInsert(Int32, Object)Since this collection is read-only, throws an InvalidOperationException.
Public methodInsert(Int32, T)Since this collection is read-only, throws an InvalidOperationException.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemove(Object)Since this collection is read-only, throws an InvalidOperationException.
Public methodRemove(T)Since this collection is read-only, throws an InvalidOperationException.
Public methodRemoveAtSince this collection is read-only, throws an InvalidOperationException.
Public methodStopFilteringRemoves the filter for the collection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedRaised when the collection has changed.
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorGets the enumerator.
Explicit interface implemetationPrivate propertyIList.ItemGets the item at the specified location.
Top

The underlying collection for this class must implement IList and INotifyCollectionChanged.

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