ImmutableArray<T>.Builder.AddRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddRange(IEnumerable<T>) |
将指定项添加到数组的末尾。 |
AddRange(ImmutableArray<T>) |
将指定项添加到数组的末尾。 |
AddRange(ImmutableArray<T>.Builder) |
将指定项添加到数组的末尾。 |
AddRange(ReadOnlySpan<T>) |
将指定项添加到数组的末尾。 |
AddRange(T[]) |
将指定项添加到数组的末尾。 |
AddRange(ImmutableArray<T>, Int32) |
将指定项添加到数组的末尾。 |
AddRange(T[], Int32) |
将指定项添加到数组的末尾。 |
AddRange<TDerived>(ImmutableArray<TDerived>) |
将派生自当前位于数组中的类型的指定项添加到数组末尾。 |
AddRange<TDerived>(ImmutableArray<TDerived>.Builder) |
将派生自当前位于数组中的类型的指定项添加到数组末尾。 |
AddRange<TDerived>(ReadOnlySpan<TDerived>) |
将指定项添加到数组的末尾。 |
AddRange<TDerived>(TDerived[]) |
将派生自当前位于数组中的类型的指定项添加到数组末尾。 |
AddRange(IEnumerable<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
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))
参数
- items
- IEnumerable<T>
要添加到数组中的项。
适用于
AddRange(ImmutableArray<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
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))
参数
- items
- ImmutableArray<T>
要添加到数组中的项。
适用于
AddRange(ImmutableArray<T>.Builder)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
public:
void AddRange(System::Collections::Immutable::ImmutableArray<T>::Builder ^ items);
public void AddRange (System.Collections.Immutable.ImmutableArray<T>.Builder items);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T>.Builder -> unit
Public Sub AddRange (items As ImmutableArray(Of T).Builder)
参数
要添加到数组中的项。
适用于
AddRange(ReadOnlySpan<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
public:
void AddRange(ReadOnlySpan<T> items);
public void AddRange (ReadOnlySpan<T> items);
member this.AddRange : ReadOnlySpan<'T> -> unit
Public Sub AddRange (items As ReadOnlySpan(Of T))
参数
- items
- ReadOnlySpan<T>
要添加到数组末尾的项。
适用于
AddRange(T[])
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
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())
参数
- items
- T[]
要添加到数组中的项。
适用于
AddRange(ImmutableArray<T>, Int32)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
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)
参数
- items
- ImmutableArray<T>
要添加到数组中的项。
- length
- Int32
要从源数组中添加的元素数。
适用于
AddRange(T[], Int32)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
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)
参数
- items
- T[]
要添加到数组中的项。
- length
- Int32
要从源数组中添加的元素数。
适用于
AddRange<TDerived>(ImmutableArray<TDerived>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将派生自当前位于数组中的类型的指定项添加到数组末尾。
public:
generic <typename TDerived>
where TDerived : T void AddRange(System::Collections::Immutable::ImmutableArray<TDerived> items);
public void AddRange<TDerived> (System.Collections.Immutable.ImmutableArray<TDerived> items) where TDerived : T;
member this.AddRange : System.Collections.Immutable.ImmutableArray<#'T> -> unit
Public Sub AddRange(Of TDerived As T) (items As ImmutableArray(Of TDerived))
类型参数
- TDerived
派生自数组中已存在的项类型的类型。
参数
- items
- ImmutableArray<TDerived>
要添加到数组末尾的项。
适用于
AddRange<TDerived>(ImmutableArray<TDerived>.Builder)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将派生自当前位于数组中的类型的指定项添加到数组末尾。
public:
generic <typename TDerived>
where TDerived : T void AddRange(System::Collections::Immutable::ImmutableArray<TDerived>::Builder ^ items);
public void AddRange<TDerived> (System.Collections.Immutable.ImmutableArray<TDerived>.Builder items) where TDerived : T;
member this.AddRange : System.Collections.Immutable.ImmutableArray<#'T>.Builder -> unit
Public Sub AddRange(Of TDerived As T) (items As ImmutableArray(Of TDerived).Builder)
类型参数
- TDerived
派生自数组中已存在的项类型的类型。
参数
- items
- ImmutableArray<TDerived>.Builder
要添加到数组末尾的项。
适用于
AddRange<TDerived>(ReadOnlySpan<TDerived>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将指定项添加到数组的末尾。
public:
generic <typename TDerived>
where TDerived : T void AddRange(ReadOnlySpan<TDerived> items);
public void AddRange<TDerived> (ReadOnlySpan<TDerived> items) where TDerived : T;
member this.AddRange : ReadOnlySpan<#'T> -> unit
Public Sub AddRange(Of TDerived As T) (items As ReadOnlySpan(Of TDerived))
类型参数
- TDerived
派生自数组中已存在的项类型的类型。
参数
- items
- ReadOnlySpan<TDerived>
要添加到数组末尾的项。
适用于
AddRange<TDerived>(TDerived[])
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
将派生自当前位于数组中的类型的指定项添加到数组末尾。
public:
generic <typename TDerived>
where TDerived : T void AddRange(cli::array <TDerived> ^ items);
public void AddRange<TDerived> (TDerived[] items) where TDerived : T;
member this.AddRange : 'Derived[] -> unit
Public Sub AddRange(Of TDerived As T) (items As TDerived())
类型参数
- TDerived
派生自数组中已存在的项类型的类型。
参数
- items
- TDerived[]
要添加到数组末尾的项。