学C#时遇到的一个"过时"方法 Application.EnableRTLMirroring()

作者:XiaoSong     E-mail: QiruiSong@126.com

《Programming C#》的某个范例代码,在VS2005 beta2中编译时,提示这个方法找不到。

查MSDN也是同样结果。在Google上搜到了关于该问题的老帖,算是常见问题了

同时又在Microsoft Connect上的反馈中找到了答案,贴在下面,以供日后考察。

注意有色字体,Microsoft Connect说这个方法存在争议,已被Beta2弃用了。。

我的解决办法就是注释掉,不知在beta2中有没有替代的办法~

Microsoft Connect上的回复:

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=116127

类型 错误 代码 116127
状态 关闭 (不会修复) 访问限制 公开
打开者 Kevin Westhead 障碍 否
打开日期 2004/7/17 提交语言 英语

描述
Initials longer than 2 characters should use Pascal case, therefore

Application.EnableRTLMirroring should be Application.EnableRtlMirroring.
建议
Thank you for submitting this isse. We will investigate it and keep you informed.

Andrea
.Net Client QA Team
由 Microsoft 在 2004/7/22 20:04 发送
Bug was updated during data migration.

MSDN Team
由 Microsoft 在 2004/7/22 22:30 发送
This method has been obsoleted, and will be removed after Beta2.
由 Microsoft 在 2004/10/1 16:30 发送
This api has been deprecated for RTM and therefore the casing will not be fixed for beta2.
由 Microsoft 在 2005/1/24 10:38 发送
Product Language
English
Version
Visual Studio 2005 Beta 1
Category
Other
Operating System
Windows 2000 Professional
Operating System Language
English
Steps to Reproduce
1. Start Visual Studio.
2. Press CTRL+W, J.
3. Browse to System.Windows.Forms.Application.
Actual Results
Application has a method called EnableRTLMirroring.
Expected Results
Application has a method called EnableRtlMirroring.
文件附件
0 个附件  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值