英語で読む 編集

次の方法で共有


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
Source:
NRange.cs

Constructs an NRange object using a Range.

C#
public NRange(Range range);

Parameters

range
Range

The Range to use.

Applies to

.NET 10 (package-provided) およびその他のバージョン
製品 バージョン
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

NRange(NIndex, NIndex)

Source:
NRange.cs
Source:
NRange.cs

Constructs an NRange object using the start and end NIndex.

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

Parameters

start
NIndex

The inclusive start NIndex of the NRange.

end
NIndex

The exclusive end NIndex of the NRange.

Applies to

.NET 10 (package-provided) およびその他のバージョン
製品 バージョン
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)