Hi I am trying to migrate an old system which used the aspose.iCalendar version 1.1.1.0 , now I replaced this dll with the aspose.Email.Mail.Calendaring
I have the following code
Option Strict On
Option Explicit On
Imports System.Data.SqlClient
Imports Aspose.Email.Mail.Calendaring
Namespace RNIntranet
Public Class CMSRecurrence
Private _iRecurrenceID As Integer
Private _ds As DataSet
Private _dbConn As SqlConnection
'Private _RecurrencePattern As RNRecurrencePattern
Private _RecurrencePattern As RecurrencePattern
#Region “Public Properties”
Public ReadOnly Property RecurrenceID() As Integer
Get
Return _iRecurrenceID
End Get
End Property
Public Property ICalendarString() As String
Get
If IsDBNull(_ds.Tables(0).Rows(0)(“ICalendar”)) Then
Return “”
Else
Return CStr(_ds.Tables(0).Rows(0)(“ICalendar”))
End If
End Get
Set(ByVal Value As String)
_ds.Tables(0).Rows(0)(“ICalendar”) = Value
_RecurrencePattern = New RecurrencePattern(Value)
End Set
End Property
the highlighted line raises an error as the RecurrencePattern is defined as an abstract class now
the highlighted line raises an error as the RecurrencePattern is defined as an abstract class now
what would be an alternative solution to generate the RecurrencePattern the same way above?