您的位置:首页 > 其它

SerialNumberTemplate

2014-06-15 15:51 337 查看
   今在做一个winform程序部署时,在添加序列号的时候,突然想不起来SerialNumberTemplate中的“?”和“%”以及“^”表示的含义,上网搜了很久,各种解释都有,最多的的是转载别人的,而且还是错的,比如对?的解释前后矛盾,这个可能是原作者的笔误,或者没有解释清楚,但是为什么还会有那么多的人看都不看转载了,只要搜索“在c#部署中添加序列码”,在csdn,网易,百度中都能看到这篇不知道被多少人转载了的文章,或许原作者应该高兴,因为你的错误也有那么多看都不看的蠢货去转载,那些把自己装成学霸,装成高手的人,你们把自己的博客整的跟自己的脸一样漂亮有什么用了,你们对自己转载的东西看过吗,你们的频繁转载只会让搜索引擎搜出更多没用的垃圾,转了那么多连自己都不看的文章天,是想告诉csdn你有多牛吗,还是想告诉哪个不懂计算机的妹子你有多叼?

  像那些只会转却从不看的神人,你们还是别费劲了,趁早转行吧,你们转再多自己不看的博客,也只是一个三流的猿,浪费了自己的时间,还让那些想学点东西的人,只能从搜索引擎的结果中找到一堆无用的垃圾,浪费自己的时间算是慢性自杀,但那也只是你们自己的兴趣爱好,充其量也只是对不起你自己,但是浪费了别人的时间那可算是谋财害命,只转不看的神人收手吧,为了搜这么点东西,你们浪费了我一个多小时,净整些没用的。

下面是SerialNumberTemplate中的?^%#的解释,有兴趣的谷歌翻译慢慢看:

Valid editable characters for the SerialNumberTemplate property are:

Character Meaning

#

Requires a digit that will not be included in the validation algorithm.

%

Requires a digit that will be included in the validation algorithm.

?

Requires an alphanumeric character that will not be included in the validation algorithm.

^

Requires an uppercase or lowercase character. Numeric digits are not valid here.

<

Any characters to the left of this character will not be visible in the dialog box.

>

Any characters to the right of this character will not be visible in the dialog box. Required as a terminator if the < character is used.

Any other character is treated as a literal constant
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  SerialNumberTemplate