Edit

Share via


LastBranchRecordJumpReadOnlySpan.Slice Method

Definition

Overloads

Slice(Int32)

Forms a slice out of the given read-only span, beginning at 'start'.

Slice(Int32, Int32)

Forms a slice out of the given read-only span, beginning at 'start', of given length

Slice(Int32)

Forms a slice out of the given read-only span, beginning at 'start'.

public Microsoft.Windows.EventTracing.Cpu.LastBranchRecordJumpReadOnlySpan Slice (int start);
member this.Slice : int -> Microsoft.Windows.EventTracing.Cpu.LastBranchRecordJumpReadOnlySpan
Public Function Slice (start As Integer) As LastBranchRecordJumpReadOnlySpan

Parameters

start
Int32

The index at which to begin this slice.

Returns

Exceptions

Thrown when the specified start index is not in range (<0 or >Length).

Applies to

Slice(Int32, Int32)

Forms a slice out of the given read-only span, beginning at 'start', of given length

public Microsoft.Windows.EventTracing.Cpu.LastBranchRecordJumpReadOnlySpan Slice (int start, int length);
member this.Slice : int * int -> Microsoft.Windows.EventTracing.Cpu.LastBranchRecordJumpReadOnlySpan
Public Function Slice (start As Integer, length As Integer) As LastBranchRecordJumpReadOnlySpan

Parameters

start
Int32

The index at which to begin this slice.

length
Int32

The desired length for the slice (exclusive).

Returns

Exceptions

Thrown when the specified start or end index is not in range (<0 or >Length).

Applies to