Bridge

Guid..::..ToString Method

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

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public string ToString(
	string format
)
<TemplateAttribute> _
Public Function ToString ( _
	format As String _
) As String
[TemplateAttribute]
public:
String^ ToString(
	String^ format
)

Parameters

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

Return Value

The value of this Guid, represented as a series of lowercase hexadecimal digits in the specified format.

Exceptions


ExceptionCondition
System..::..FormatExceptionThe value of format is not null, an empty string (""), "N", "D", "B", "P", or "X".