AsEnumerable<T>(T,Boolean) Method
'Declaration
Public Overloads Shared Function AsEnumerable(Of As Class)( _
ByVal As , _
ByVal As System.Boolean _
) As System.Collections.Generic.IEnumerable(Of T)
public static System.Collections.Generic.IEnumerable<T> AsEnumerable<>(
,
System.bool
)
where T: class
Parameters
- item
- The item to place in the sequence
- ignoreNull
- When true if is null then an empty sequence is returned
Type Parameters
- T
- The type to convert to a sequence
Return Value
a sequence containing the value (on an empty sequence if is null and is true).
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.