LiquidTechnologies.XmlObjects Namespace / LxLinqExtensions Class / NotNull Method / NotNull<T>(IEnumerable<T>) Method
The type to filter
The items to filter

In This Topic
    NotNull<T>(IEnumerable<T>) Method
    In This Topic
    Filters out all null values
    Public Overloads Shared Function NotNull(Of T As Class)( _
       ByVal items As System.Collections.Generic.IEnumerable(Of T) _
    ) As System.Collections.Generic.IEnumerable(Of T)
    public static System.Collections.Generic.IEnumerable<T> NotNull<T>( 
       System.Collections.Generic.IEnumerable<T> items
    where T: class


    The items to filter

    Type Parameters

    The type to filter

    Return Value

    A sequence containing all the non-null values in items

    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