T
IdeaBlade DevForce 2010 Help Reference
ToHashSet<T> Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnumerableFns Class : ToHashSet<T> Method



items
Returns a HashSet of the specified collection.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Function ToHashSet(Of T)( _
   ByVal items As IEnumerable(Of T) _
) As HashSet(Of T)
Visual Basic (Usage)Copy Code
Dim items As IEnumerable(Of T)
Dim value As HashSet(Of T)
 
value = EnumerableFns.ToHashSet(Of T)(items)
C# 
[ExtensionAttribute()]
public static HashSet<T> ToHashSet<T>( 
   IEnumerable<T> items
)
C++/CLI 
[ExtensionAttribute()]
public:
static HashSet<T^>^ ToHashSetgeneric<typename T>
( 
   IEnumerable<T^>^ items
) 

Parameters

items

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.