ImmutableStack.Create Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Create<T>() |
Tworzy pusty niezmienialny stos. |
| Create<T>(ReadOnlySpan<T>) |
Tworzy nowy niezmienny stos zawierający określoną tablicę elementów. |
| Create<T>(T) |
Tworzy nowy niezmienny stos zawierający określony element. |
| Create<T>(T[]) |
Tworzy nowy niezmienny stos zawierający określoną tablicę elementów. |
Create<T>()
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
Tworzy pusty niezmienialny stos.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableStack<T> ^ Create();
public static System.Collections.Immutable.ImmutableStack<T> Create<T>();
static member Create : unit -> System.Collections.Immutable.ImmutableStack<'T>
Public Function Create(Of T) () As ImmutableStack(Of T)
Parametry typu
- T
Typ elementów, które mają być przechowywane w niezmienialnym stosie.
Zwraca
Pusty niezmienny stos.
Dotyczy
Create<T>(ReadOnlySpan<T>)
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
Tworzy nowy niezmienny stos zawierający określoną tablicę elementów.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableStack<T> ^ Create(ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(scoped ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(ReadOnlySpan<T> items);
static member Create : ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableStack<'T>
Public Function Create(Of T) (items As ReadOnlySpan(Of T)) As ImmutableStack(Of T)
Parametry typu
- T
Typ elementów w niezmienialnym stosie.
Parametry
- items
- ReadOnlySpan<T>
Zakres zawierający elementy do wstępnego wypełniania stosu.
Zwraca
Nowy niezmienny stos zawierający określone elementy.
Dotyczy
Create<T>(T)
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
Tworzy nowy niezmienny stos zawierający określony element.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableStack<T> ^ Create(T item);
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(T item);
static member Create : 'T -> System.Collections.Immutable.ImmutableStack<'T>
Public Function Create(Of T) (item As T) As ImmutableStack(Of T)
Parametry typu
- T
Typ elementów w niezmienialnym stosie.
Parametry
- item
- T
Element do wstępnego wypełniania stosu.
Zwraca
Nowa niezmienna kolekcja zawierająca określony element.
Dotyczy
Create<T>(T[])
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
- Źródło:
- ImmutableStack.cs
Tworzy nowy niezmienny stos zawierający określoną tablicę elementów.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableStack<T> ^ Create(... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableStack<T> Create<T>(params T[] items);
static member Create : 'T[] -> System.Collections.Immutable.ImmutableStack<'T>
Public Function Create(Of T) (ParamArray items As T()) As ImmutableStack(Of T)
Parametry typu
- T
Typ elementów w niezmienialnym stosie.
Parametry
- items
- T[]
Tablica zawierająca elementy do wstępnego wypełniania stosu.
Zwraca
Nowy niezmienny stos zawierający określone elementy.