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


In This Topic
    GetBitValues<TEnum> Method
    In This Topic
    Gets the values of the specified enum that are represented by single bits in their binary representation (i.e. are exact powers of 2).
    Syntax
    'Declaration
     
    
    Public Shared Function GetBitValues(Of TEnum As {New, Struct})() As System.ULong()
    'Usage
     
    
    Dim value() As System.ULong
     
    value = NEnum.GetBitValues(Of TEnum)()
    public static System.ulong[] GetBitValues<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