L
larzeb
I receive the following error from the compiler:
ScheduledInfo' must implement 'Property AddrLine1() As String' for
interface 'ICASSBatch'. Implementing property must have matching
'ReadOnly'/'WriteOnly' specifiers.
The interface:
Public Interface ICASSBatch
Property AddrLine1() As String
Property BarCode() As String
Property City() As String
Property State() As String
Property Zip5() As String
...
End Interface
The class implementing the interface:
Public Class ScheduledInfo
Implements ICASSBatch
...
Public Property AddrLine1() As String
Get
Return _addrLine1
End Get
Set(ByVal Value As String)
_addrLine1 = Value
End Set
End Property
I don't understand the error message. Can anyone help?
TIA Lars
ScheduledInfo' must implement 'Property AddrLine1() As String' for
interface 'ICASSBatch'. Implementing property must have matching
'ReadOnly'/'WriteOnly' specifiers.
The interface:
Public Interface ICASSBatch
Property AddrLine1() As String
Property BarCode() As String
Property City() As String
Property State() As String
Property Zip5() As String
...
End Interface
The class implementing the interface:
Public Class ScheduledInfo
Implements ICASSBatch
...
Public Property AddrLine1() As String
Get
Return _addrLine1
End Get
Set(ByVal Value As String)
_addrLine1 = Value
End Set
End Property
I don't understand the error message. Can anyone help?
TIA Lars