ReadOnlyObservableSet<T>.OnCollectionChanged Method
Invoked when the collection is changed.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Overridable Sub OnCollectionChanged ( _
eventArgs As NotifyCollectionChangedEventArgs _
)
protected virtual void OnCollectionChanged(
NotifyCollectionChangedEventArgs eventArgs
)
Parameters
- eventArgs
Type: System.Collections.Specialized.NotifyCollectionChangedEventArgs
Arguments of the event being raised, describing the changes made 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.