List.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 List(Of T1, T2, T3, T4)
Dim p1 As T1
Dim p2 As T2
Dim p3 As T3
Dim p4 As T4

instance.Add(p1, p2, p3, p4)

Syntax

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

Parameters

  • p1
  • p2
  • p3
  • p4

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

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