FilteredObservableCollection<T> Constructor
Initializes a new instance of FilteredObservableCollection<T>.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'宣告
Public Sub New ( _
underlyingList As IList(Of T) _
)
public FilteredObservableCollection(
IList<T> underlyingList
)
public:
FilteredObservableCollection(
IList<T>^ underlyingList
)
new :
underlyingList:IList<'T> -> FilteredObservableCollection
public function FilteredObservableCollection(
underlyingList : IList<T>
)
Parameters
- underlyingList
Type: System.Collections.Generic.IList<T>
The underlying collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | underlyingList is nulla null reference (Nothing in Visual Basic). |
ArgumentException | underlyingList does not implement IList and/or INotifyCollectionChanged. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.