SharePoint GUID:大写还是小写?
对于 Sharepoint 开发,在 GUID 中使用小写或大写字母有什么关系吗?我不确定是否在某些情况下需要使用小写字母而不是大写字母。
谢谢。
Does it matter that I use lowercase or uppercase letters in GUID for Sharepoint development? I'm not sure if there are certain situations where lowercase letters need to be used instead of uppercase ones.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尽管大多数人倾向于在 SharePoint 开发中使用大写字母,但使用什么大小写并不重要。
不过,是否使用大括号可能很重要。我不确定这个错误是否已在服务包中修复,但这里有一篇关于括号的小文章:
http://www.andrewconnell.com/blog/archive/2007/10/26/To-括号或不括号-GUIDs-in-SharePoint-CAML.aspx
It shouldn't matter what casing you are using, though most people tend to use uppercase in SharePoint-development.
It could matter though, if curly brackets are used or not. I'm not sure if this bug has been fixed in the service packs but here's a small article on the brackets:
http://www.andrewconnell.com/blog/archive/2007/10/26/To-bracket-or-not-to-bracket-GUIDs-in-SharePoint-CAML.aspx
不,没关系。所有 GUID 都是平等创建的 (harhar)
No it does not matter. All GUIDs are created equally (harhar)