Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class TestClass
- Private someFieldSuka
- Public Property Let SomeField(arg1, arg2)
- someFieldSuka = arg1 & arg2
- End Property
- Public Property Get SomeField(arg1)
- SomeField = someFieldSuka
- End Property
- End Class
- Dim testInstance
- Set testInstance = New TestClass
- testInstance.SomeField("lol") = "kek"
- r = MsgBox(testInstance.SomeField("lol"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement