共用方式為


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

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace