Book a Demo

Author Topic: Can't set read/write property in VB.net  (Read 3752 times)

Gabor

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Can't set read/write property in VB.net
« on: February 21, 2005, 12:06:34 am »
Hi,

I tried to create a read/write porpertyin VB.net, but on can't create the property set method on the diagram.

Does anybody experoenced this behavior, or it is Me who missed something.

Thanks

Gabor

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Can't set read/write property in VB.net
« Reply #1 on: February 21, 2005, 12:02:13 pm »
VB.NET does not have separate getter/setter methods for properties.

Gabor

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Can't set read/write property in VB.net
« Reply #2 on: February 21, 2005, 03:37:44 pm »
OK, I can't set read/write property in VB.net.

When I try to do that, the property automaticaly became Readonly  :(

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Can't set read/write property in VB.net
« Reply #3 on: February 23, 2005, 01:04:06 pm »
Are you creating the Properties by clicking the Property checkbox for an attribute?  Are you sure your class has it's language property set to VB.NET?  This works fine for me.  Read/Write or ReadOnly.  What version are you using?  Maybe if you give me your steps you perform I can see if it fails for me.