다음을 통해 공유


NIndex 생성자

정의

오버로드

NIndex(Index)

Index NIndex 생성

NIndex(IntPtr, Boolean)

값을 사용하여 NIndex를 생성하고 NIndex가 시작부터 또는 끝에서 시작되었는지 여부를 나타냅니다.

NIndex(Index)

Source:
NIndex.cs

Index NIndex 생성

public:
 NIndex(Index index);
public NIndex (Index index);
new System.Buffers.NIndex : Index -> System.Buffers.NIndex
Public Sub New (index As Index)

매개 변수

index
Index

NIndex 만들 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은 마지막 요소 너머를 가리키는 것을 의미합니다.

적용 대상