Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NList<T> Class / CastAll<TTarget> Method

In This Topic
    CastAll<TTarget> Method (NList<T>)
    In This Topic
    Casts all items in this list to the specified target type. Returns a new list with the casted objects
    Public Function CastAll(Of TTarget As Class)() As NList(Of TTarget)
    Dim instance As NList(Of T)
    Dim value As NList(Of TTarget)
    value = instance.CastAll(Of TTarget)()
    public NList<TTarget> CastAll<TTarget>()
    where TTarget: class

    Type Parameters


    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also