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


In This Topic
    TryGetFirstAppointmentStart Method
    In This Topic
    Tries to get the start date and time of the first appointment defined by this recurrence rule, which intersects the given date time range.
    Syntax
    'Declaration
     
    
    Protected Overridable Function TryGetFirstAppointmentStart( _
       ByVal appointmentStart As System.Date, _
       ByVal appointmentEnd As System.Date, _
       ByVal rangeStart As System.Date, _
       ByVal rangeEnd As System.Date, _
       ByRef result As System.Date _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NRecurrenceRule
    Dim appointmentStart As System.Date
    Dim appointmentEnd As System.Date
    Dim rangeStart As System.Date
    Dim rangeEnd As System.Date
    Dim result As System.Date
    Dim value As System.Boolean
     
    value = instance.TryGetFirstAppointmentStart(appointmentStart, appointmentEnd, rangeStart, rangeEnd, result)
    protected virtual System.bool TryGetFirstAppointmentStart( 
       System.DateTime appointmentStart,
       System.DateTime appointmentEnd,
       System.DateTime rangeStart,
       System.DateTime rangeEnd,
       out System.DateTime result
    )

    Parameters

    appointmentStart
    appointmentEnd
    rangeStart
    rangeEnd
    result
    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