我如何写私人设置自动属性在VB 10? [英] How do I write private set auto-properties in VB 10?

查看:190
本文介绍了我如何写私人设置自动属性在VB 10?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C#:<​​/ P>

in C#:

public string Property { get; private set; }

在VB?

请投票或/和分享您的想法!

推荐答案

我不认为这是可能的(还)。

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

请参阅 MSDN上的这个链接
上述文章甚至链接另一个有关混合访问级别。

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

我发现在Microsoft Connect上,所以他们是想着它(如果这将是VS2010是另外一个问题)。

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

这篇关于我如何写私人设置自动属性在VB 10?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆