Hi,I have developed a Lotus Script class with a Get/Set property method as shown below.
Public Class MyClass
KeyVal As String
Public Property Set Key As String
Me.KeyVal = Key
End Property
Public Property Get Key As String
Key = Me.KeyVal
End Property
End Class
Can any one please tell me how can I call this property from a Lotus script agent. I have already instatiate the object from this class. But I dont know the syntax to invoke the Set property method.
Subject: RE: How to Set Class property in LotusScript agent
Because it’s not a public property you can’t access it from outside the class code no matter what syntax you use. Put the word Public in front of its definition to make it accessible to everyone.
Subject: RE: How to Set Class property in LotusScript agent
I don’t think the original post has been modified. But also I don’t think we’re seeing the right code/all the code, because that’s what the error message means.