本文介绍了GUID的格式是否始终相同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
GUID,您会得到类似aaaef973-d8ce-4c92-95b4-3635bb2d42d5
GUID you get something like aaaef973-d8ce-4c92-95b4-3635bb2d42d5
是否总是一样?是否总是会采用以下格式
Is it always the same? Is it always going to have the following format
8个字符-",4个字符-",4个字符-",4个字符-",12个字符
8 char "-", 4 char "-", 4 char "-", 4 char "-", 12 char
我问是因为我需要将不带-"的GUID转换为带有-"和副签证的GUID.
I'm asking because i need to convert a GUID without "-" to GUID with "-" and vice visa.
推荐答案
否;还有其他格式,例如您列出的格式(带花括号除外).还有更复杂的格式.这是MSDN列出的一些格式:
No; there are other formats, such as the format you listed except with braces. There's also more complex formats. Here are some of the formats MSDN lists:
- MSDN
这篇关于GUID的格式是否始终相同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!