ReadOnlySpanEnumerable<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
ReadOnlySpanEnumerable<T>.Item(ReadOnlySpan<T>, Int32) | |
ReadOnlySpanEnumerable<T>.Item(T, Int32) |
Initializes a new instance of the ReadOnlySpanEnumerable<T>.Item struct. |
ReadOnlySpanEnumerable<T>.Item(ReadOnlySpan<T>, Int32)
public Item (ReadOnlySpan<T> span, int index);
new Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanEnumerable<'T>.Item : ReadOnlySpan<'T> * int -> Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanEnumerable<'T>.Item
Public Sub New (span As ReadOnlySpan(Of T), index As Integer)
Parameters
- span
- ReadOnlySpan<T>
- index
- Int32
Applies to
ReadOnlySpanEnumerable<T>.Item(T, Int32)
Initializes a new instance of the ReadOnlySpanEnumerable<T>.Item struct.
public Item (ref T value, int index);
new Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanEnumerable<'T>.Item : 'T * int -> Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanEnumerable<'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.