ReadOnlyObservableSet<T> Constructor
Initializes a new instance of the ReadOnlyObservableSet<T> class that is empty and uses the specified equality comparer for the set type..
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Sub New ( _
comparer As IEqualityComparer(Of T) _
)
protected ReadOnlyObservableSet(
IEqualityComparer<T> comparer
)
Parameters
- comparer
Type: 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.
.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.