ImmutableList<T>.Builder.IndexOf 메서드

정의

오버로드

Name Description
IndexOf(T)

지정된 개체를 검색하고 변경할 수 없는 목록의 요소 범위 내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

IndexOf(T, Int32)

지정된 개체를 검색하고 지정된 인덱스에서 마지막 요소로 확장되는 변경할 수 없는 목록의 요소 범위 내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

IndexOf(T, Int32, Int32)

지정한 개체를 검색하고 지정된 인덱스에서 시작하여 지정된 개수의 요소를 포함하는 변경할 수 없는 목록의 요소 범위 내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

IndexOf(T, Int32, Int32, IEqualityComparer<T>)

지정된 개체를 검색하고 지정된 인덱스에서 시작하여 지정된 개수의 요소를 포함하는 요소 ImmutableList<T>.Builder 범위 내에서 처음 발생하는 인덱스(0부터 시작)를 반환합니다.

IndexOf(T)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 개체를 검색하고 변경할 수 없는 목록의 요소 범위 내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

public:
 virtual int IndexOf(T item);
public int IndexOf(T item);
abstract member IndexOf : 'T -> int
override this.IndexOf : 'T -> int
Public Function IndexOf (item As T) As Integer

매개 변수

item
T

변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.

반품

변경할 수 없는 목록의 요소 범위 내에서 처음 발견되는 item 인덱스(있는 경우)의 인덱스(0부터 시작)이고, 그렇지 않으면 -1입니다.

구현

적용 대상

IndexOf(T, Int32)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 개체를 검색하고 지정된 인덱스에서 마지막 요소로 확장되는 변경할 수 없는 목록의 요소 범위 내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

public:
 int IndexOf(T item, int index);
public int IndexOf(T item, int index);
member this.IndexOf : 'T * int -> int
Public Function IndexOf (item As T, index As Integer) As Integer

매개 변수

item
T

변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.

index
Int32

검색의 시작 인덱스(0부터 시작)입니다. 0은 빈 목록에서 유효합니다.

반품

변경할 수 없는 목록의 요소 범위 내에 있는 항목의 첫 번째 항목이 발견된 경우 마지막 요소까지 index 확장되는 항목의 0부터 시작하는 인덱스입니다. 그렇지 않으면 -1입니다.

적용 대상

IndexOf(T, Int32, Int32)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정한 개체를 검색하고 지정된 인덱스에서 시작하여 지정된 개수의 요소를 포함하는 변경할 수 없는 목록의 요소 범위 내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

public:
 int IndexOf(T item, int index, int count);
public int IndexOf(T item, int index, int count);
member this.IndexOf : 'T * int * int -> int
Public Function IndexOf (item As T, index As Integer, count As Integer) As Integer

매개 변수

item
T

변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.

index
Int32

검색의 시작 인덱스(0부터 시작)입니다. 0은 빈 목록에서 유효합니다.

count
Int32

검색할 섹션의 요소 수입니다.

반품

변경할 수 없는 목록의 요소 범위 내에서 첫 번째로 나타나는 항목의 인덱스(0부터 시작 index )이며 요소 수가 있는 count 경우 -1입니다.

적용 대상

IndexOf(T, Int32, Int32, IEqualityComparer<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 개체를 검색하고 지정된 인덱스에서 시작하여 지정된 개수의 요소를 포함하는 요소 ImmutableList<T>.Builder 범위 내에서 처음 발생하는 인덱스(0부터 시작)를 반환합니다.

public:
 int IndexOf(T item, int index, int count, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public int IndexOf(T item, int index, int count, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public int IndexOf(T item, int index, int count, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
member this.IndexOf : 'T * int * int * System.Collections.Generic.IEqualityComparer<'T> -> int
Public Function IndexOf (item As T, index As Integer, count As Integer, equalityComparer As IEqualityComparer(Of T)) As Integer

매개 변수

item
T

변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.

index
Int32

검색의 시작 인덱스(0부터 시작)입니다. 0은 빈 목록에서 유효합니다.

count
Int32

검색할 요소의 수입니다.

equalityComparer
IEqualityComparer<T>

같음 요소를 비교하는 데 사용할 값 비교자입니다.

반품

변경할 수 없는 목록의 요소 범위 내에서 처음 발견되는 항목의 인덱스(0부터 시작 index )이며 요소 수가 있는 경우 인덱스 count 이고, 그렇지 않으면 -1

적용 대상