Share via


ReadOnlyObservableSet<T>.OnItemAdded Method

Invoked when an element is added to the set.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected Overridable Sub OnItemAdded ( _
    item As T _
)
protected virtual void OnItemAdded(
    T item
)
protected:
virtual void OnItemAdded(
    T item
)
abstract OnItemAdded : 
        item:'T -> unit  
override OnItemAdded : 
        item:'T -> unit
protected function OnItemAdded(
    item : T
)

Parameters

  • item
    Type: T

    The element that was added to the set.

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace