Search code examples
vb.netvisual-studio-2010.net-4.0automatic-properties

How do I write private set auto-properties in VB 10?


in C#:

public string Property { get; private set; }

in VB?

Please vote or/and share your ideas!


Solution

  • I don't think that is possible (yet).

    See this link on MSDN.
    The above article even links to another one about mixed access levels.

    I found this on Microsoft Connect, so they are thinking about it (If it will be for VS2010 that's another question).