在升级到.Net Framework 4.6.1之后,删除了提供给Property的参数 [英] Parameter provided to Property gets removed after upgarding to .Net framework 4.6.1
问题描述
.Net Framework 4.5属性如下:
.Net Framework 4.5 Property was as below :
升级到.Net framework 4.6.1之后,删除了提供给Set的参数.那么,现在,该属性设置了什么值?
After Upgrading to .Net framework 4.6.1 Parameter provided to Set got removed. So Now, what value gets set to the property?
朋友财产文化()作为Global.System.Globalization.CultureInfo
获取
返回资源文化
结束获取
放
resourceCulture =值
端套
结束属性
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set
resourceCulture = value
End Set
End Property
推荐答案
您好Neelam21,
Hi Neelam21,
>>升级到.Net Framework 4.6.1之后,删除了提供给Set的参数.那么,现在,该属性设置了什么值?
>>After Upgrading to .Net framework 4.6.1 Parameter provided to Set got removed. So Now, what value gets set to the property?
根据您的描述,您是说 (将ByVal值设置为Global.System.Globalization.CultureInfo)吗? ,对吗?如果是的话,我也尝试在没有它的情况下进行构建,它也会成功构建.
Based on your description, do you mean (ByVal value As Global.System.Globalization.CultureInfo) is removed ? Am I right? If yes, I also try to build without it, It also build successful.
因此在.Net framework4.6.1中是相同的.
So it is the same in .Net framework4.6.1.
如果我误解了您,请随时告诉我.
If I missunderstood you, please feel free to let me know.
最诚挚的问候,
克里斯汀
这篇关于在升级到.Net Framework 4.6.1之后,删除了提供给Property的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!