Share via


ArrayBuilderSegment<T> Struct

Definition

Types in the Microsoft.AspNetCore.Components.RenderTree are not recommended for use outside of the Blazor framework. These types will change in future release.

generic <typename T>
public value class ArrayBuilderSegment : System::Collections::Generic::IEnumerable<T>
public readonly struct ArrayBuilderSegment<T> : System.Collections.Generic.IEnumerable<T>
type ArrayBuilderSegment<'T> = struct
    interface seq<'T>
    interface IEnumerable
Public Structure ArrayBuilderSegment(Of T)
Implements IEnumerable(Of T)

Type Parameters

T

The type of the elements in the array

Inheritance
ArrayBuilderSegment<T>
Implements

Properties

Array

Gets the current underlying array holding the segment's elements.

Count

Gets the number of items in the segment.

Item[Int32]

Gets the specified item from the segment.

Offset

Gets the offset into the underlying array holding the segment's elements.

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IEnumerable<T>.GetEnumerator()

Applies to