Hey,
I am trying to overload a property set statement. I think its possible, but do not know how to do.
Here is my code...
'AMOUNT (PROPERTY)
'Amount of transaction
Public Overloads Property Amount(ByVal M) As Double
Get
Return mAmount
End Get
Set(ByVal aAmount As Double)
mAmount = aAmount
End Set
End Property
I want another set to accept a string and then convert it to a double and then store it to mAmount.
Any ideas or help would be great. Thanks!
Erik
I am trying to overload a property set statement. I think its possible, but do not know how to do.
Here is my code...
'AMOUNT (PROPERTY)
'Amount of transaction
Public Overloads Property Amount(ByVal M) As Double
Get
Return mAmount
End Get
Set(ByVal aAmount As Double)
mAmount = aAmount
End Set
End Property
I want another set to accept a string and then convert it to a double and then store it to mAmount.
Any ideas or help would be great. Thanks!
Erik