ImmutableSortedSet<T>.Builder.IndexOf(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for the first index within this set that the specified value is contained.
public:
int IndexOf(T item);
public int IndexOf (T item);
member this.IndexOf : 'T -> int
Public Function IndexOf (item As T) As Integer
Parameters
- item
- T
The value to locate within the set.
Returns
The index of the specified item
in the sorted set, if item
is found. If item
is not found and item
is less than one or more elements in this set, returns a negative number that is the bitwise complement of the index of the first element that's larger than item
. If item
is not found and item
is greater than any of the elements in the set, returns a negative number that is the bitwise complement of (the index of the last element plus 1).
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기