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


In This Topic
    GetBitNames<TEnum> Method
    In This Topic
    Gets the names of the values in 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 GetBitNames(Of TEnum As {New, Struct})() As System.String()
    'Usage
     
    
    Dim value() As System.String
     
    value = NEnum.GetBitNames(Of TEnum)()
    public static System.string[] GetBitNames<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