Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NRecurrenceYearlyRule Class / NRecurrenceYearlyRule Constructor / NRecurrenceYearlyRule Constructor(ENDayOrdinal,ENDayOfWeek,ENMonth)


In This Topic
    NRecurrenceYearlyRule Constructor(ENDayOrdinal,ENDayOfWeek,ENMonth)
    In This Topic
    Creates a relative yearly rule, e.g. "the third Monday of May and November, every year".
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dayOrdinal As ENDayOrdinal, _
       ByVal daysOfWeek As ENDayOfWeek, _
       ByVal monthsInYear As ENMonth _
    )
    'Usage
     
    
    Dim dayOrdinal As ENDayOrdinal
    Dim daysOfWeek As ENDayOfWeek
    Dim monthsInYear As ENMonth
     
    Dim instance As New NRecurrenceYearlyRule(dayOrdinal, daysOfWeek, monthsInYear)

    Parameters

    dayOrdinal
    daysOfWeek
    monthsInYear
    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