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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
comparer As IEqualityComparer(Of T) _
)
protected ReadOnlyObservableSet(
IEqualityComparer<T> comparer
)
protected:
ReadOnlyObservableSet(
IEqualityComparer<T>^ comparer
)
new :
comparer:IEqualityComparer<'T> -> ReadOnlyObservableSet
protected function ReadOnlyObservableSet(
comparer : IEqualityComparer<T>
)
Parameters
comparer
Type: 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.