DevForce Help Reference
ToHashSet<T> Method


Returns a HashSet of the specified collection.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function ToHashSet(Of T)( _
   ByVal items As IEnumerable(Of T) _
) As HashSet(Of T)
'Usage
 
Dim items As IEnumerable(Of T)
Dim value As HashSet(Of T)
 
value = EnumerableFns.ToHashSet(Of T)(items)
[Extension()]
public static HashSet<T> ToHashSet<T>( 
   IEnumerable<T> items
)

Parameters

items

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableFns Class
EnumerableFns Members

Send Feedback