按Tab键在C#中的资源文件 [英] tabbing in C# resource file
本文介绍了按Tab键在C#中的资源文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
喜
如何将TAB(\t)添加到字符串资源?
Hi How do i add a TAB (\t) to a string resource ?
\tText不工作
推荐答案
您有一个我所知道的两个选项:
You have two options that I am aware of:
1)做一个字符串替换读你的资源字符串后:S = s.Replace(\\t,\t);
1) Do a string replace after reading your resource string: s = s.Replace("\\t","\t");
2)输入在数字键盘上按下Alt-012(我认为这是选项卡)直接转义序列到资源字符串在创建时。
2) Enter the escape sequence directly into your resource string at creation time by typing Alt-012 (I think that's tab) on the numeric keypad.
文章在同一的here 这里
Articles on the same here and here.
这篇关于按Tab键在C#中的资源文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文