SpanEnumerable<T>.Item Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SpanEnumerable<T>.Item(Span<T>, Int32) | |
SpanEnumerable<T>.Item(T, Int32) |
Initializes a new instance of the SpanEnumerable<T>.Item struct. |
SpanEnumerable<T>.Item(Span<T>, Int32)
public Item (Span<T> span, int index);
new Microsoft.Toolkit.HighPerformance.Enumerables.SpanEnumerable<'T>.Item : Span<'T> * int -> Microsoft.Toolkit.HighPerformance.Enumerables.SpanEnumerable<'T>.Item
Public Sub New (span As Span(Of T), index As Integer)
Parameters
- span
- Span<T>
- index
- Int32
Applies to
SpanEnumerable<T>.Item(T, Int32)
Initializes a new instance of the SpanEnumerable<T>.Item struct.
public Item (ref T value, int index);
new Microsoft.Toolkit.HighPerformance.Enumerables.SpanEnumerable<'T>.Item : 'T * int -> Microsoft.Toolkit.HighPerformance.Enumerables.SpanEnumerable<'T>.Item
Public Sub New (ByRef value As T, index As Integer)
Parameters
- value
- T
A reference to the target value.
- index
- Int32
The index of the target value.