ImmutableList.ToImmutableList Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| ToImmutableList<TSource>(IEnumerable<TSource>) |
Inventariseert een reeks en produceert een onveranderbare lijst met inhoud. |
| ToImmutableList<TSource>(ImmutableList<TSource>.Builder) |
Hiermee maakt u een onveranderbare lijst op basis van de huidige inhoud van de verzameling van de opbouwfunctie. |
ToImmutableList<TSource>(IEnumerable<TSource>)
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
Inventariseert een reeks en produceert een onveranderbare lijst met inhoud.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableList<TSource> ^ ToImmutableList(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Immutable.ImmutableList<TSource> ToImmutableList<TSource>(this System.Collections.Generic.IEnumerable<TSource> source);
static member ToImmutableList : seq<'Source> -> System.Collections.Immutable.ImmutableList<'Source>
<Extension()>
Public Function ToImmutableList(Of TSource) (source As IEnumerable(Of TSource)) As ImmutableList(Of TSource)
Type parameters
- TSource
Het type van de elementen in de reeks.
Parameters
- source
- IEnumerable<TSource>
De volgorde om te inventariseren.
Retouren
Een onveranderbare lijst die de items in de opgegeven reeks bevat.
Van toepassing op
ToImmutableList<TSource>(ImmutableList<TSource>.Builder)
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
- Bron:
- ImmutableList.cs
Hiermee maakt u een onveranderbare lijst op basis van de huidige inhoud van de verzameling van de opbouwfunctie.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableList<TSource> ^ ToImmutableList(System::Collections::Immutable::ImmutableList<TSource>::Builder ^ builder);
public static System.Collections.Immutable.ImmutableList<TSource> ToImmutableList<TSource>(this System.Collections.Immutable.ImmutableList<TSource>.Builder builder);
static member ToImmutableList : System.Collections.Immutable.ImmutableList<'Source>.Builder -> System.Collections.Immutable.ImmutableList<'Source>
<Extension()>
Public Function ToImmutableList(Of TSource) (builder As ImmutableList(Of TSource).Builder) As ImmutableList(Of TSource)
Type parameters
- TSource
Het type elementen in de lijst.
Parameters
- builder
- ImmutableList<TSource>.Builder
De opbouwfunctie waaruit de onveranderbare lijst moet worden gemaakt.
Retouren
Een onveranderbare lijst die de huidige inhoud in de verzameling van de opbouwfunctie bevat.