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
- 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.