Nevron Open Vision Documentation
Nevron.Nov Namespace / NEnum Class / GetLastValue<TEnum> Method


In This Topic
    GetLastValue<TEnum> Method (NEnum)
    In This Topic
    Gets the last value of the given enum.
    Syntax
    'Declaration
     
    
    Public Shared Function GetLastValue(Of TEnum As {New, Struct})() As TEnum
    'Usage
     
    
    Dim value As TEnum
     
    value = NEnum.GetLastValue(Of TEnum)()
    public static TEnum GetLastValue<TEnum>()
    where TEnum: new(), struct

    Type Parameters

    TEnum
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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)

    See Also