Udostępnij za pośrednictwem


ArrayBuilder<T>.AddRange Method

Definition

Overloads

AddRange(ArrayBuilder<T>)
AddRange(IEnumerable<T>)
AddRange(ImmutableArray<T>)
AddRange(T[])
AddRange(ImmutableArray<T>, Int32)
AddRange(T[], Int32)
AddRange(ImmutableArray<T>, Int32, Int32)
AddRange(T[], Int32, Int32)
AddRange<S>(ImmutableArray<S>)
AddRange<U>(ArrayBuilder<U>, Func<U,T>)
AddRange<U>(ArrayBuilder<U>, Int32, Int32)
AddRange<U>(ArrayBuilder<U>)

AddRange(ArrayBuilder<T>)

public:
 void AddRange(Microsoft::VisualStudio::Utilities::ArrayBuilder<T> ^ items);
public void AddRange (Microsoft.VisualStudio.Utilities.ArrayBuilder<T> items);
member this.AddRange : Microsoft.VisualStudio.Utilities.ArrayBuilder<'T> -> unit
Public Sub AddRange (items As ArrayBuilder(Of T))

Parameters

Applies to

AddRange(IEnumerable<T>)

public:
 void AddRange(System::Collections::Generic::IEnumerable<T> ^ items);
public void AddRange (System.Collections.Generic.IEnumerable<T> items);
member this.AddRange : seq<'T> -> unit
Public Sub AddRange (items As IEnumerable(Of T))

Parameters

items
IEnumerable<T>

Applies to

AddRange(ImmutableArray<T>)

public:
 void AddRange(System::Collections::Immutable::ImmutableArray<T> items);
public void AddRange (System.Collections.Immutable.ImmutableArray<T> items);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> -> unit
Public Sub AddRange (items As ImmutableArray(Of T))

Parameters

items
ImmutableArray<T>

Applies to

AddRange(T[])

public:
 void AddRange(... cli::array <T> ^ items);
public void AddRange (params T[] items);
member this.AddRange : 'T[] -> unit
Public Sub AddRange (ParamArray items As T())

Parameters

items
T[]

Applies to

AddRange(ImmutableArray<T>, Int32)

public:
 void AddRange(System::Collections::Immutable::ImmutableArray<T> items, int length);
public void AddRange (System.Collections.Immutable.ImmutableArray<T> items, int length);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> * int -> unit
Public Sub AddRange (items As ImmutableArray(Of T), length As Integer)

Parameters

items
ImmutableArray<T>
length
Int32

Applies to

AddRange(T[], Int32)

public:
 void AddRange(cli::array <T> ^ items, int length);
public void AddRange (T[] items, int length);
member this.AddRange : 'T[] * int -> unit
Public Sub AddRange (items As T(), length As Integer)

Parameters

items
T[]
length
Int32

Applies to

AddRange(ImmutableArray<T>, Int32, Int32)

public void AddRange (System.Collections.Immutable.ImmutableArray<T> items, int start, int length);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> * int * int -> unit
Public Sub AddRange (items As ImmutableArray(Of T), start As Integer, length As Integer)

Parameters

items
ImmutableArray<T>
start
Int32
length
Int32

Applies to

AddRange(T[], Int32, Int32)

public:
 void AddRange(cli::array <T> ^ items, int start, int length);
public void AddRange (T[] items, int start, int length);
member this.AddRange : 'T[] * int * int -> unit
Public Sub AddRange (items As T(), start As Integer, length As Integer)

Parameters

items
T[]
start
Int32
length
Int32

Applies to

AddRange<S>(ImmutableArray<S>)

public:
generic <typename S>
 where S : class, T void AddRange(System::Collections::Immutable::ImmutableArray<S> items);
public void AddRange<S> (System.Collections.Immutable.ImmutableArray<S> items) where S : class, T;
member this.AddRange : System.Collections.Immutable.ImmutableArray<#'T> -> unit
Public Sub AddRange(Of S As {Class, T}) (items As ImmutableArray(Of S))

Type Parameters

S

Parameters

items
ImmutableArray<S>

Applies to

AddRange<U>(ArrayBuilder<U>, Func<U,T>)

public void AddRange<U> (Microsoft.VisualStudio.Utilities.ArrayBuilder<U> items, Func<U,T> selector);
member this.AddRange : Microsoft.VisualStudio.Utilities.ArrayBuilder<'U> * Func<'U, 'T> -> unit
Public Sub AddRange(Of U) (items As ArrayBuilder(Of U), selector As Func(Of U, T))

Type Parameters

U

Parameters

items
ArrayBuilder<U>
selector
Func<U,T>

Applies to

AddRange<U>(ArrayBuilder<U>, Int32, Int32)

public void AddRange<U> (Microsoft.VisualStudio.Utilities.ArrayBuilder<U> items, int start, int length) where U : T;
member this.AddRange : Microsoft.VisualStudio.Utilities.ArrayBuilder<#'T> * int * int -> unit
Public Sub AddRange(Of U As T) (items As ArrayBuilder(Of U), start As Integer, length As Integer)

Type Parameters

U

Parameters

items
ArrayBuilder<U>
start
Int32
length
Int32

Applies to

AddRange<U>(ArrayBuilder<U>)

public:
generic <typename U>
 where U : T void AddRange(Microsoft::VisualStudio::Utilities::ArrayBuilder<U> ^ items);
public void AddRange<U> (Microsoft.VisualStudio.Utilities.ArrayBuilder<U> items) where U : T;
member this.AddRange : Microsoft.VisualStudio.Utilities.ArrayBuilder<#'T> -> unit
Public Sub AddRange(Of U As T) (items As ArrayBuilder(Of U))

Type Parameters

U

Parameters

items
ArrayBuilder<U>

Applies to