Converts a string to a GUID.
function StringToGUID(const S: string): TGUID;
TGUID StringToGUID(const AnsiString S);
SysUtils
StringToGUID converts the string representation of a GUID, S, into an equivalent TGUID data structure.
If StringToGUID succeeds it returns the requested GUID. If StringToGUID fails an EConvertError exception is raised.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|