ReadOnlyListSegment<(Of <(<'T>)>)> ImplicitWideningImplicitImplicitImplicit Conversion (Collection to ReadOnlyListSegment)

Performs an implicit conversion from [List{T}] to ReadOnlyListSegment<(Of <(<'T>)>)>.

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public static implicit operator ReadOnlyListSegment<T> (
	Collection<T> collection
)
Public Shared Widening Operator CType ( _
	collection As Collection(Of T) _
) As ReadOnlyListSegment(Of T)

Parameters

collection
Type: Collection<(Of <(<'T>)>)>
The collection.

Return Value

The result of the conversion.