Nevron Open Vision Documentation
Nevron.Nov Namespace / NDateTimeUnit Class / GetFromEnum Method


In This Topic
    GetFromEnum Method
    In This Topic
    Returns the NDateTimeUnit object corresponding to the date time unit enum value
    Syntax
    'Declaration
     
    
    Public Shared Function GetFromEnum( _
       ByVal dateTimeUnit As ENDateTimeUnit _
    ) As NDateTimeUnit
    'Usage
     
    
    Dim dateTimeUnit As ENDateTimeUnit
    Dim value As NDateTimeUnit
     
    value = NDateTimeUnit.GetFromEnum(dateTimeUnit)
    public static NDateTimeUnit GetFromEnum( 
       ENDateTimeUnit dateTimeUnit
    )

    Parameters

    dateTimeUnit
    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