NIndex 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
NIndex(Index) | |
NIndex(IntPtr, Boolean) |
값을 사용하여 NIndex를 생성하고 NIndex가 시작부터 또는 끝에서 시작되었는지 여부를 나타냅니다. |
NIndex(Index)
- Source:
- NIndex.cs
public:
NIndex(Index index);
public NIndex (Index index);
new System.Buffers.NIndex : Index -> System.Buffers.NIndex
Public Sub New (index As Index)
매개 변수
설명
끝에서 생성된 NIndex인 경우 인덱스 값 1은 마지막 요소를 가리키고 인덱스 값 0은 마지막 요소 너머를 가리키는 것을 의미합니다.
적용 대상
NIndex(IntPtr, Boolean)
- Source:
- NIndex.cs
값을 사용하여 NIndex를 생성하고 NIndex가 시작부터 또는 끝에서 시작되었는지 여부를 나타냅니다.
public NIndex (IntPtr value, bool fromEnd = false);
new System.Buffers.NIndex : nativeint * bool -> System.Buffers.NIndex
Public Sub New (value As IntPtr, Optional fromEnd As Boolean = false)
매개 변수
- value
-
IntPtr
nativeint
인덱스 값입니다. 0 또는 양수여야 합니다.
- fromEnd
- Boolean
인덱스가 시작부터 시작인지 아니면 끝부터인지를 나타냅니다.
설명
끝에서 생성된 NIndex인 경우 인덱스 값 1은 마지막 요소를 가리키고 인덱스 값 0은 마지막 요소 너머를 가리키는 것을 의미합니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET