ImmutableList.Create 메서드

정의

오버로드

Name Description
Create<T>()

변경할 수 없는 빈 목록을 만듭니다.

Create<T>(ReadOnlySpan<T>)

지정된 항목 범위의 항목을 포함하는 변경할 수 없는 새 목록을 만듭니다.

Create<T>(T)

지정된 항목이 포함된 변경할 수 없는 새 목록을 만듭니다.

Create<T>(T[])

지정된 항목 배열을 포함하는 변경할 수 없는 새 목록을 만듭니다.

Create<T>()

Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs

변경할 수 없는 빈 목록을 만듭니다.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create();
public static System.Collections.Immutable.ImmutableList<T> Create<T>();
static member Create : unit -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) () As ImmutableList(Of T)

형식 매개 변수

T

에 저장할 항목의 형식입니다.

반품

변경할 수 없는 빈 목록입니다.

적용 대상

Create<T>(ReadOnlySpan<T>)

Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs

지정된 항목 범위의 항목을 포함하는 변경할 수 없는 새 목록을 만듭니다.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create(ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(scoped ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(ReadOnlySpan<T> items);
static member Create : ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) (items As ReadOnlySpan(Of T)) As ImmutableList(Of T)

형식 매개 변수

T

컬렉션에 의해 저장된 항목의 형식입니다.

매개 변수

items
ReadOnlySpan<T>

목록을 미리 채울 항목이 들어 있는 범위입니다.

반품

지정된 항목을 포함하는 변경할 수 없는 새 목록입니다.

적용 대상

Create<T>(T)

Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs

지정된 항목이 포함된 변경할 수 없는 새 목록을 만듭니다.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create(T item);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(T item);
static member Create : 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) (item As T) As ImmutableList(Of T)

형식 매개 변수

T

에 있는 항목의 형식입니다.

매개 변수

item
T

목록을 미리 채울 항목입니다.

반품

지정된 항목이 포함된 새 항목입니다.

적용 대상

Create<T>(T[])

Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs
Source:
ImmutableList.cs

지정된 항목 배열을 포함하는 변경할 수 없는 새 목록을 만듭니다.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create(... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(params T[] items);
static member Create : 'T[] -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) (ParamArray items As T()) As ImmutableList(Of T)

형식 매개 변수

T

에 있는 항목의 형식입니다.

매개 변수

items
T[]

목록을 미리 채울 항목이 들어 있는 배열입니다.

반품

지정된 항목을 포함하는 변경할 수 없는 새 목록입니다.

적용 대상