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

前端 未结 3 1696
轻奢々
轻奢々 2021-01-08 01:02

in C#:

public string Property { get; private set; }

in VB?

Please vote or/and share your ideas!

3条回答
  •  迷失自我
    2021-01-08 01:33

    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).

提交回复
热议问题