ReadOnlyObservableSet<T>.OnItemAdded Method
Invoked when an element is added to the set.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: TThe element that was added to 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.