Share via


HashSet.Add Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As HashSet(Of T1, T2, T3)
Dim p1 As T1
Dim p2 As T2
Dim p3 As T3

instance.Add(p1, p2, p3)

Syntax

'Declaration
Public Sub Add ( _
    p1 As T1, _
    p2 As T2, _
    p3 As T3 _
)
public void Add (
    T1 p1,
    T2 p2,
    T3 p3
)
public:
void Add (
    T1 p1, 
    T2 p2, 
    T3 p3
)
public void Add (
    T1 p1, 
    T2 p2, 
    T3 p3
)
public function Add (
    p1 : T1, 
    p2 : T2, 
    p3 : T3
)

Parameters

  • p1
  • p2
  • p3

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

HashSet Generic Class
HashSet Members
Microsoft.OneGet.Utility.Collections Namespace