Share via


ReadOnlyObservableSet<T>.OnItemsCleared Method

Invoked when the set is cleared.

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

Syntax

'Declaration
Protected Overridable Sub OnItemsCleared ( _
    clearedItems As IEnumerable(Of T) _
)
protected virtual void OnItemsCleared(
    IEnumerable<T> clearedItems
)
protected:
virtual void OnItemsCleared(
    IEnumerable<T>^ clearedItems
)
abstract OnItemsCleared : 
        clearedItems:IEnumerable<'T> -> unit  
override OnItemsCleared : 
        clearedItems:IEnumerable<'T> -> unit
protected function OnItemsCleared(
    clearedItems : IEnumerable<T>
)

Parameters

  • clearedItems
    Type: IEnumerable<T>

    The elements that were cleared from the set.

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace