Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NRecurrenceRule Class / DecreaseTo Method


In This Topic
    DecreaseTo Method (NRecurrenceRule)
    In This Topic
    Decreases the given date and time to the first date and time larger than the specified target following this rule's logic.
    Syntax
    'Declaration
     
    
    Protected Overridable Function DecreaseTo( _
       ByVal date As System.Date, _
       ByVal target As System.Date _
    ) As System.Date
    'Usage
     
    
    Dim instance As NRecurrenceRule
    Dim date As System.Date
    Dim target As System.Date
    Dim value As System.Date
     
    value = instance.DecreaseTo(date, target)
    protected virtual System.DateTime DecreaseTo( 
       System.DateTime date,
       System.DateTime target
    )

    Parameters

    date
    target
    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