Click or drag to resize
GuidParse Method
Converts the string representation of a GUID to the equivalent Guid structure.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static Guid Parse(
	string input
)

Parameters

input
Type: SystemString
The GUID to convert.

Return Value

Type: Guid
A structure that contains the value that was parsed.
Exceptions
ExceptionCondition
ArgumentNullExceptioninput is null.
FormatExceptioninput is not in a recognized format.
See Also