CollectionHelper.ShallowCopy<T> Method (HashSet<T>) |
Returns a copy of the hashset passed across.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static HashSet<T> ShallowCopy<T>(
HashSet<T> hashSet
)
Public Shared Function ShallowCopy(Of T) (
hashSet As HashSet(Of T)
) As HashSet(Of T)
public:
generic<typename T>
static HashSet<T>^ ShallowCopy(
HashSet<T>^ hashSet
)
static member ShallowCopy :
hashSet : HashSet<'T> -> HashSet<'T>
Parameters
- hashSet
- Type: System.Collections.Generic.HashSet<T>
Type Parameters
- T
Return Value
Type:
HashSet<T>
See Also