Editar

Partilhar via


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.

public:
 NRange(Range range);
public NRange (Range range);
new System.Buffers.NRange : Range -> System.Buffers.NRange
Public Sub New (range As Range)

Parameters

range
Range

The Range to use.

Applies to

NRange(NIndex, NIndex)

Source:
NRange.cs
Source:
NRange.cs

Constructs an NRange object using the start and end NIndex.

public:
 NRange(System::Buffers::NIndex start, System::Buffers::NIndex end);
public NRange (System.Buffers.NIndex start, System.Buffers.NIndex end);
new System.Buffers.NRange : System.Buffers.NIndex * System.Buffers.NIndex -> System.Buffers.NRange
Public Sub New (start As NIndex, end As NIndex)

Parameters

start
NIndex

Represent the inclusive start NIndex of the NRange.

end
NIndex

Represent the exclusive end NIndex of the NRange.

Applies to