FilteredObservableCollection<T>.Insert Method (Int32, 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
声明
Public Sub Insert ( _
index As Integer, _
item As T _
)
public void Insert(
int index,
T item
)
public:
virtual void Insert(
int index,
T item
) sealed
abstract Insert :
index:int *
item:'T -> unit
override Insert :
index:int *
item:'T -> unit
public final function Insert(
index : int,
item : T
)
Parameters
- index
Type: System.Int32
The location.
- item
Type: T
The item.
Implements
.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.