영어로 읽기 편집

다음을 통해 공유


NRange Constructors

Definition

Overloads

NRange(Range)

Constructs an NRange object using a Range.

NRange(NIndex, NIndex)

Constructs an NRange object using the start and end NIndex.

NRange(Range)

Source:
NRange.cs

Constructs an NRange object using a Range.

public NRange (Range range);

Parameters

range
Range

The Range to use.

Applies to

.NET 9 (package-provided) 및 .NET 8 (package-provided)
제품 버전
.NET 8 (package-provided), 9 (package-provided)

NRange(NIndex, NIndex)

Source:
NRange.cs

Constructs an NRange object using the start and end NIndex.

public NRange (System.Buffers.NIndex start, System.Buffers.NIndex end);

Parameters

start
NIndex

Represent the inclusive start NIndex of the NRange.

end
NIndex

Represent the exclusive end NIndex of the NRange.

Applies to

.NET 9 (package-provided) 및 .NET 8 (package-provided)
제품 버전
.NET 8 (package-provided), 9 (package-provided)