Metoda ReadOnlyObservableSet<T>.OnCollectionChanged —
Invoked when the collection is changed.
Przestrzeń nazw: Microsoft.VisualStudio.Shell
Zestaw: Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)
Składnia
'Deklaracja
Protected Overridable Sub OnCollectionChanged ( _
eventArgs As NotifyCollectionChangedEventArgs _
)
protected virtual void OnCollectionChanged(
NotifyCollectionChangedEventArgs eventArgs
)
Parametry
- eventArgs
Typ: System.Collections.Specialized.NotifyCollectionChangedEventArgs
Arguments of the event being raised, describing the changes made to the set.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..