Konstruktor ReadOnlyObservableSet<T> —
Initializes a new instance of the ReadOnlyObservableSet<T> class that is empty and uses the specified equality comparer for the set type..
Przestrzeń nazw: Microsoft.VisualStudio.Shell
Zestaw: Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)
Składnia
'Deklaracja
Protected Sub New ( _
comparer As IEqualityComparer(Of T) _
)
protected ReadOnlyObservableSet(
IEqualityComparer<T> comparer
)
Parametry
- comparer
Typ: System.Collections.Generic.IEqualityComparer<T>
The implementation to use when comparing values in the set, or null to use the default EqualityComparer implementation for the set type.
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..