System.SysUtils.GUIDToString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GUIDToString(const Guid: TGUID): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall GUIDToString(const GUID &Guid);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Converts a class identifier GUID into a string.

GUIDToString converts a GUID into a string of printable characters. Each GUID always converts to a unique string.

If GUIDToString succeeds, it returns a string for the requested GUID. If GUIDToString fails, it raises EConvertError.

See Also


Code Examples