Returns a System.String representation of the value of this System.Guid instance, according to the provided format specifier.

Syntax

Smartsite SXML CopyCode image Copy Code
string sys.newguid()
string sys.newguid(string format)

Parameters

Name Data Type Description
format String A single format specifier that indicates how to format the value of this System.Guid.
The format parameter can be "N", "D", "B", or "P".
If format is null or the empty string (""), "D" is used.

Return Value

Data Type Description
String A String representation of a new Guid.

Expand image Example

SXML