Liquid XML Data Binder 2020
AsEnumerable<T>(T) Method

LiquidTechnologies.XmlObjects Namespace > LxLinqExtensions Class > AsEnumerable Method : AsEnumerable<T>(T) Method
The type to convert to a sequence
The item to place in the sequence
Converts an struct value an IEnumerable<T>
Public Overloads Shared Function AsEnumerable(Of T As {New, Struct})( _
   ByVal item As T _
) As System.Collections.Generic.IEnumerable(Of T)
public static System.Collections.Generic.IEnumerable<T> AsEnumerable<T>( 
   T item
where T: new(), struct


The item to place in the sequence

Type Parameters

The type to convert to a sequence

Return Value

A sequence containing the item value

Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

See Also


LxLinqExtensions Class
LxLinqExtensions Members
Overload List