Share via


BulkObservableCollection<T>.SetItem Method

Replaces the item at the specified location.

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

Syntax

'Déclaration
Protected Overrides Sub SetItem ( _
    index As Integer, _
    item As T _
)
protected override void SetItem(
    int index,
    T item
)
protected:
virtual void SetItem(
    int index, 
    T item
) override
abstract SetItem : 
        index:int * 
        item:'T -> unit 
override SetItem : 
        index:int * 
        item:'T -> unit 
protected override function SetItem(
    index : int, 
    item : T
)

Parameters

  • index
    Type: System.Int32
    The location at which to replace the item.
  • item
    Type: T
    The item to replace.

.NET Framework Security

See Also

Reference

BulkObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace