ImmutableList<T>.Builder.LastIndexOf 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| LastIndexOf(T, Int32, Int32, IEqualityComparer<T>) |
지정된 개체를 검색하고 지정된 개수의 요소를 포함하고 지정된 인덱스에서 끝나는 변경할 수 없는 목록의 요소 범위 내에서 마지막으로 발생한 항목의 인덱스(0부터 시작하는 인덱스)를 반환합니다. |
| LastIndexOf(T, Int32, Int32) |
지정된 개체를 검색하고 지정된 개수의 요소를 포함하고 지정된 인덱스에서 끝나는 변경할 수 없는 목록의 요소 범위 내에서 마지막으로 발생한 항목의 인덱스(0부터 시작하는 인덱스)를 반환합니다. |
| LastIndexOf(T, Int32) |
지정된 개체를 검색하고 첫 번째 요소에서 지정된 인덱스로 확장되는 변경할 수 없는 목록의 요소 범위 내에서 마지막으로 발생한 항목의 인덱스(0부터 시작)를 반환합니다. |
| LastIndexOf(T) |
지정된 개체를 검색하고 변경할 수 없는 전체 목록 내에서 마지막으로 발생한 항목의 인덱스(0부터 시작하는 인덱스)를 반환합니다. |
LastIndexOf(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
지정된 개체를 검색하고 지정된 개수의 요소를 포함하고 지정된 인덱스에서 끝나는 변경할 수 없는 목록의 요소 범위 내에서 마지막으로 발생한 항목의 인덱스(0부터 시작하는 인덱스)를 반환합니다.
public:
int LastIndexOf(T item, int startIndex, int count, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public int LastIndexOf(T item, int startIndex, int count, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public int LastIndexOf(T item, int startIndex, int count, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
member this.LastIndexOf : 'T * int * int * System.Collections.Generic.IEqualityComparer<'T> -> int
Public Function LastIndexOf (item As T, startIndex As Integer, count As Integer, equalityComparer As IEqualityComparer(Of T)) As Integer
매개 변수
- item
- T
변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.
- startIndex
- Int32
검색의 시작 인덱스(0부터 시작)입니다. 0은 빈 목록에서 유효합니다.
- count
- Int32
검색할 요소의 수입니다.
- equalityComparer
- IEqualityComparer<T>
같음 요소를 비교하는 데 사용할 값 비교자입니다.
반품
변경할 수 없는 목록의 요소 범위 내에서 처음 발견되는 항목의 인덱스(0부터 시작 startIndex )이며 요소 수가 있는 경우 인덱스 count 이고, 그렇지 않으면 -1
적용 대상
LastIndexOf(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 LastIndexOf(T item, int startIndex, int count);
public int LastIndexOf(T item, int startIndex, int count);
member this.LastIndexOf : 'T * int * int -> int
Public Function LastIndexOf (item As T, startIndex As Integer, count As Integer) As Integer
매개 변수
- item
- T
변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.
- startIndex
- Int32
뒤로 검색의 시작 인덱스(0부터 시작)입니다.
- count
- Int32
검색할 섹션의 요소 수입니다.
반품
변경할 수 없는 목록의 요소 범위 내에서 마지막으로 발생한 항목의 item 인덱스(0부터 시작하는 인덱스 count )로, 요소 수를 포함하고 있는 경우 (있는 경우)에서 startIndex끝납니다. 그렇지 않으면 -1입니다.
적용 대상
LastIndexOf(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 LastIndexOf(T item, int startIndex);
public int LastIndexOf(T item, int startIndex);
member this.LastIndexOf : 'T * int -> int
Public Function LastIndexOf (item As T, startIndex As Integer) As Integer
매개 변수
- item
- T
변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.
- startIndex
- Int32
뒤로 검색의 시작 인덱스(0부터 시작)입니다.
반품
변경할 수 없는 목록의 요소 범위 내에서 첫 번째 요소에서 찾은 경우 -1로 item확장되는 요소 범위 내에서 마지막으로 발생한 startIndex 항목의 인덱스(0부터 시작)입니다.
적용 대상
LastIndexOf(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:
int LastIndexOf(T item);
public int LastIndexOf(T item);
member this.LastIndexOf : 'T -> int
Public Function LastIndexOf (item As T) As Integer
매개 변수
- item
- T
변경할 수 없는 목록에서 찾을 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.
반품
변경할 수 없는 전체 목록 내에서 마지막으로 발생한 인덱스(있는 경우)의 item 인덱스(0부터 시작하는 인덱스)이고, 그렇지 않으면 -1입니다.