FilteredObservableCollection<T>.Add Method (T)
Since this collection is read-only, throws an InvalidOperationException.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Public Sub Add ( _
item As T _
)
public void Add(
T item
)
public:
virtual void Add(
T item
) sealed
abstract Add :
item:'T -> unit
override Add :
item:'T -> unit
public final function Add(
item : T
)
Parameters
item
Type: TThe item.
Implements
ICollection.Add(UTP)
.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.